nvim: remove leap plugin

This commit is contained in:
dogeystamp 2023-07-05 19:57:34 -04:00
parent dcebf4a7f5
commit 4c99ee4f02
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 0 additions and 26 deletions

View File

@ -100,9 +100,6 @@ endif
" URL motions
Plug 'axieax/urlview.nvim'
" fancy motions
Plug 'ggandor/leap.nvim'
Plug 'ledger/vim-ledger'
call plug#end()

View File

@ -90,29 +90,6 @@ require('dressing').setup({
}
})
-- fancy motions (leap.nvim)
vim.keymap.set({'n', 'x', 'o'}, 'f', '<Plug>(leap-forward-to)')
vim.keymap.set({'n', 'x', 'o'}, 'F', '<Plug>(leap-backward-to)')
vim.keymap.set(
{'n', 'x', 'o'}, 't',
function ()
require("leap").leap { offset = 2 }
end
)
vim.keymap.set(
{'n', 'x', 'o'}, 'T',
function ()
require("leap").leap { backward = true, offset = 2 }
end
)
require('leap').opts.safe_labels = {
"a", "s", "d", "f", "g", "h", "j", "k", "l"
}
require('leap').opts.labels = { "a", "s", "d",
"f", "k", "l", "h", "o", "d", "w", "e", "m",
"u", "v", "r", "g", "c", "x", "z",
}
local cmp = require'cmp'
cmp.setup({
window = {