This commit is contained in:
megit 2024-03-28 02:03:42 +08:00
commit f22207f3e2
16 changed files with 988 additions and 0 deletions

27
config/plugins/leap.nix Normal file
View file

@ -0,0 +1,27 @@
{
plugins.leap = {
enable = true;
};
keymaps = [
{
mode = [ "n" "x" "o" ];
key = "<leader>ss";
action = "function() require('leap').leap { } end";
}
{
mode = [ "n" "x" "o" ];
key = "<leader>sS";
action = "<Plug>(leap-backward-to)";
}
{
mode = [ "n" "x" "o" ];
key = "<leader>sx";
action = "<Plug>(leap-forward-till)";
}
{
mode = [ "n" "x" "o" ];
key = "<leader>sX";
action = "<Plug>(leap-backward-till)";
}
];
}