Last active
April 10, 2017 07:12
-
-
Save riidom/6001731 to your computer and use it in GitHub Desktop.
ZBS config file "user.lua"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[-- | |
Use this file to specify System preferences. | |
Review [examples](+C:\Dokumente und Einstellungen\dr\Desktop\ZeroBraneStudioEduPack-0.38-win32\cfg\user-sample.lua) or check [online documentation](http://studio.zerobrane.com/documentation.html) for details. | |
--]]-- | |
local G = ... | |
styles = G.loadfile('cfg/tomorrow.lua')('Zenburn') -- theme | |
editor.fontsize = 10 -- different fonts need different sizes, adapt this to your picked font | |
editor.fontname = "Inconsolata" -- use your own fav font | |
editor.usetabs = true | |
editor.usewrap = true | |
editor.foldcompact = false | |
filetree.fontname = "Inconsolata" | |
filetree.fontsize = 8 | |
outputshell.fontname = "Inconsolata" | |
outputshell.fontsize = 9 | |
outputshell.wordwrap = true | |
styles.auxwindow = styles.text | |
acandtip.nodynwords = false | |
acandtip.startat = 2 -- dynwords after 2 typed letters | |
keymap[G.ID_SAVEALL] = "Alt-S" | |
keymap[G.ID_VIEWOUTPUT] = "F11" -- F11 to toggle console on/off (more vertical space) | |
keymap[G.ID_VIEWFULLSCREEN] = "Shift-F11" | |
styles.indicator.fncall = {st = wxstc.wxSTC_INDIC_PLAIN; fg = {240,223,175} } -- function calls just underlined | |
styles.indicator.varlocal = nil -- for local vars no special marker | |
styles.indicator.varglobal = {st = wxstc.wxSTC_INDIC_SQUIGGLELOW; fg = {204,147,147} } -- global vars red underline | |
-- colours are hardcoded, fitting to zenburn theme, if you change theme, change above colours too | |
styles.linenumber.fg = {200,200,50} | |
styles.keywords0.b = false -- no bold keywords | |
styles.keywords2.b = false -- - " - | |
language = "de" -- for english UI, delete that line | |
singleinstance = false | |
stylesoutshell = styles -- also apply the same scheme to Output/Console windows | |
debugger.redirect = "c" |
Author
riidom
commented
Dec 27, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment