summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/motions.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/custom/plugins/motions.lua')
-rw-r--r--.config/nvim/lua/custom/plugins/motions.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/lua/custom/plugins/motions.lua b/.config/nvim/lua/custom/plugins/motions.lua
index f36e735..71abb97 100644
--- a/.config/nvim/lua/custom/plugins/motions.lua
+++ b/.config/nvim/lua/custom/plugins/motions.lua
@@ -20,6 +20,9 @@ return {
vim.keymap.set('n', 'S', '<Plug>(leap-from-window)')
vim.keymap.set({ 'x', 'o' }, 's', '<Plug>(leap-forward)')
vim.keymap.set({ 'x', 'o' }, 'S', '<Plug>(leap-backward)')
+ vim.keymap.set({ 'n', 'o' }, 'gs', function()
+ require('leap.remote').action()
+ end)
-- Define equivalence classes for brackets and quotes, in addition to
-- the default whitespace group.