diff --git a/src/.config/nvim/init.vim b/src/.config/nvim/init.vim index 5e3eb89..b6198a8 100755 --- a/src/.config/nvim/init.vim +++ b/src/.config/nvim/init.vim @@ -100,9 +100,6 @@ endif " URL motions Plug 'axieax/urlview.nvim' -" fancy motions -Plug 'ggandor/leap.nvim' - Plug 'ledger/vim-ledger' call plug#end() diff --git a/src/.config/nvim/lua/init.lua b/src/.config/nvim/lua/init.lua index a1d9918..552bc2f 100644 --- a/src/.config/nvim/lua/init.lua +++ b/src/.config/nvim/lua/init.lua @@ -90,29 +90,6 @@ require('dressing').setup({ } }) --- fancy motions (leap.nvim) -vim.keymap.set({'n', 'x', 'o'}, 'f', '(leap-forward-to)') -vim.keymap.set({'n', 'x', 'o'}, 'F', '(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 = {