Nvim: initialize leap in lua script

This commit is contained in:
Robert Kmieć
2023-02-16 10:40:24 +01:00
parent f327679ca9
commit d1dbfe720d
4 changed files with 12 additions and 23 deletions

View File

@@ -1,20 +0,0 @@
local leap = require('leap')
leap.setup {
case_insensitive = true,
-- Leaving the appropriate list empty effectively disables "smart" mode,
-- and forces auto-jump to be on or off.
--safe_labels = { . . . },
--labels = { . . . },
-- These keys are captured directly by the plugin at runtime.
special_keys = {
repeat_search = '<enter>',
next_match = '<enter>',
prev_match = '<tab>',
next_group = '<space>',
prev_group = '<tab>',
eol = '<space>',
},
}
leap.set_default_keymaps()