Skip to content

Instantly share code, notes, and snippets.

@madmaxoft
Last active September 5, 2015 15:31
Show Gist options
  • Save madmaxoft/f35c30065b9a5002c2f9 to your computer and use it in GitHub Desktop.
Save madmaxoft/f35c30065b9a5002c2f9 to your computer and use it in GitHub Desktop.
systemwide user.lua
singleinstance = false
autoanalyzer = true
editor.autoactivate = true
editor.fold = false
editor.tabwidth = 2
editor.usetabs = true
editor.smartindent = false
editor.usewrap = false
debugger.allowediting = true
debugger.runonstart = true
debugger.requestattention = false
edgemark =
{
column = 110
}
format.menurecentprojects = "%s\t%f (%i)"
outline.sort = true
outline.showanonymous = false
outline.showonefile = true
-- Bind F10 to step-over, F11 to step-into and Shift+F11 to step-out:
local G = ...
keymap[G.ID_STEPOVER] = "F10"
keymap[G.ID_STEP] = "F11"
keymap[G.ID_STEPOUT] = "Shift-F11"
-- Bind Ctrl+Tab and Ctrl+Shift+Tab to LRU tab switching:
-- Ref.: https://github.com/pkulchenko/ZeroBraneStudio/issues/301
--[[
-- This doesn't work - Ctrl+Tab keeps opening windows from previous sessions instead of toggling the two most LRU
keymap[G.ID_RECENTFILESPREV] = "Ctrl-Tab"
keymap[G.ID_RECENTFILESNEXT] = "Ctrl-Shift-Tab"
--]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment