diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-07-09 17:31:20 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-07-09 17:31:20 +0300 |
| commit | 79905005126b9638390366c6206d669a0d3d723f (patch) | |
| tree | fedeec27de832a0dbc6a40ba8405663962636867 /.config/nvim/lua/custom/plugins/motions.lua | |
| parent | c609feeb4af7f0c5d28c2818dc7d237eeb6781d7 (diff) | |
Neovim: added keybind for spooky leap, added a lua snippet for desc
Diffstat (limited to '.config/nvim/lua/custom/plugins/motions.lua')
| -rw-r--r-- | .config/nvim/lua/custom/plugins/motions.lua | 3 |
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. |
