nvim: remap leap and oil, move leap to editing

This commit is contained in:
2025-03-11 22:07:03 +01:00
parent 8714b847a7
commit 8a6ecfe7b9
3 changed files with 15 additions and 17 deletions

View File

@@ -33,4 +33,18 @@ return {
lazy = false,
opts = { keymaps = { useDefaults = true } },
},
{
'ggandor/leap.nvim',
opts = {
safe_labels = {},
},
dependencies = {
"tpope/vim-repeat",
},
keys = {
{ '\\', '<Plug>(leap)', mode = { 'n', 'x', 'o' } },
{ 'gs', '<Plug>(leap-from-window)', mode = { 'n', 'x', 'o' } },
}
},
}