Skip to content

Commit

Permalink
Add example settings to _overwrite_ an existing key binding (lite-xl#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MFAshby authored Dec 27, 2022
1 parent 5fa7dab commit d4989d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/core/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,10 @@ local style = require "core.style"
-- key binding:
-- keymap.add { ["ctrl+escape"] = "core:quit" }
-- pass 'true' for second parameter to overwrite an existing binding
-- keymap.add({ ["ctrl+pageup"] = "root:switch-to-previous-tab" }, true)
-- keymap.add({ ["ctrl+pagedown"] = "root:switch-to-next-tab" }, true)
------------------------------- Fonts ----------------------------------------
-- customize fonts:
Expand Down

0 comments on commit d4989d9

Please sign in to comment.