neovim -> nixvim
This commit is contained in:
30
home/programs/nixvim/plugins/leap.nix
Normal file
30
home/programs/nixvim/plugins/leap.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.nixvim = {
|
||||
plugins = {
|
||||
leap = {
|
||||
enable = true;
|
||||
settings = {
|
||||
case_sensitive = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
keymaps = [
|
||||
{
|
||||
key = "s";
|
||||
action = "<Plug>(leap)";
|
||||
mode = [
|
||||
"n"
|
||||
"x"
|
||||
"o"
|
||||
];
|
||||
}
|
||||
{
|
||||
key = "S";
|
||||
action = "<Plug>(leap-from-window)";
|
||||
mode = [ "n" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user