diff options
| -rw-r--r-- | .config/nvim/lua/vimrc/plugins.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.config/nvim/lua/vimrc/plugins.lua b/.config/nvim/lua/vimrc/plugins.lua index b4cd1ef..0db8508 100644 --- a/.config/nvim/lua/vimrc/plugins.lua +++ b/.config/nvim/lua/vimrc/plugins.lua @@ -419,7 +419,6 @@ return { -- * sr {'ss', '<Plug>(hop-s2)', mode = {'n', 'o', 'x'}}, {'sn', '<Plug>(hop-n)', mode = {'n', 'o', 'x'}}, - {'sN', '<Plug>(hop-N)', mode = {'n', 'o', 'x'}}, {'sj', '<Plug>(hop-j)', mode = {'n', 'o', 'x'}}, {'sk', '<Plug>(hop-k)', mode = {'n', 'o', 'x'}}, }, @@ -439,8 +438,7 @@ return { vim.keymap.set('', '<Plug>(hop-s2)', function() hop.hint_char2() end, { silent = true }) - vim.keymap.set('', '<Plug>(hop-n)', function() hop.hint_patterns({ direction = AFTER_CURSOR }, vim.fn.getreg('/')) end, { silent = true }) - vim.keymap.set('', '<Plug>(hop-N)', function() hop.hint_patterns({ direction = BEFORE_CURSOR }, vim.fn.getreg('/')) end, { silent = true }) + vim.keymap.set('', '<Plug>(hop-n)', function() hop.hint_patterns({}, vim.fn.getreg('/')) end, { silent = true }) vim.keymap.set('', '<Plug>(hop-j)', function() hop.hint_vertical({ direction = AFTER_CURSOR }) end, { silent = true }) vim.keymap.set('', '<Plug>(hop-k)', function() hop.hint_vertical({ direction = BEFORE_CURSOR }) end, { silent = true }) |
