nvim: leap: remap gs/gS instead of s/S/gs
This commit is contained in:
parent
b774bb44d9
commit
d86e4ec4a3
@ -7,8 +7,12 @@ return {
|
||||
|
||||
{
|
||||
'ggandor/leap.nvim',
|
||||
opts = {
|
||||
safe_labels = {},
|
||||
},
|
||||
config = function()
|
||||
require('leap').add_default_mappings()
|
||||
vim.keymap.set({ 'n', 'x', 'o' }, 'gs', '<Plug>(leap)')
|
||||
vim.keymap.set({ 'n', 'x', 'o' }, 'gS', '<Plug>(leap-from-window)')
|
||||
end,
|
||||
dependencies = {
|
||||
"tpope/vim-repeat",
|
||||
|
Loading…
x
Reference in New Issue
Block a user