leap: changed default binds

This commit is contained in:
Soliprem 2024-10-14 19:33:45 +02:00
commit 92a7bfc4b8
2 changed files with 9 additions and 5 deletions

View file

@ -4,7 +4,7 @@
...
}: let
inherit (lib.modules) mkIf mkMerge;
inherit (lib.nvim.binds) mkBinding;
inherit (lib.nvim.binds) mkBinding pushDownDefault;
inherit (lib.nvim.dag) entryAnywhere;
cfg = config.vim.utility.motion.leap;
@ -37,6 +37,10 @@ in {
(mkBinding cfg.mappings.leapFromWindow "<Plug>(leap-from-window)" "Leap from window")
];
vim.binds.whichKey.register = pushDownDefault {
"<leader>s" = "+Leap";
};
vim.pluginRC.leap-nvim = entryAnywhere ''
require('leap').opts = {
max_phase_one_targets = nil,