summaryrefslogtreecommitdiff
path: root/lua/plugins/leap.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/leap.lua')
-rw-r--r--lua/plugins/leap.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/plugins/leap.lua b/lua/plugins/leap.lua
index b1ef5e6..a03d524 100644
--- a/lua/plugins/leap.lua
+++ b/lua/plugins/leap.lua
@@ -1,6 +1,7 @@
return {
'ggandor/leap.nvim',
config = function()
- require('leap').create_default_mappings()
+ vim.keymap.set({ 'n', 'x', 'o' }, 's', '<Plug>(leap)')
+ vim.keymap.set('n', 'S', '<Plug>(leap-from-window)')
end,
}