mirror of
https://github.com/akr2002/nv.git
synced 2024-11-12 20:19:45 +00:00
add hardtime
This commit is contained in:
parent
81d32ab609
commit
0e7921de4c
2 changed files with 28 additions and 0 deletions
|
@ -54,5 +54,6 @@
|
||||||
|
|
||||||
./utils/better-escape.nix
|
./utils/better-escape.nix
|
||||||
./utils/flash.nix
|
./utils/flash.nix
|
||||||
|
./utils/hardtime.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
27
config/utils/hardtime.nix
Normal file
27
config/utils/hardtime.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
plugins.hardtime = {
|
||||||
|
enable = true;
|
||||||
|
enabled = false;
|
||||||
|
disableMouse = true;
|
||||||
|
disabledFiletypes = ["neo-tree" "qf" "netrw" "NvimTree"];
|
||||||
|
hint = true;
|
||||||
|
maxCount = 4;
|
||||||
|
maxTime = 1000;
|
||||||
|
restrictionMode = "hint";
|
||||||
|
restrictedKeys = {
|
||||||
|
"h" = ["n" "x"];
|
||||||
|
"j" = ["n" "x"];
|
||||||
|
"k" = ["n" "x"];
|
||||||
|
"l" = ["n" "x"];
|
||||||
|
"-" = ["n" "x"];
|
||||||
|
"+" = ["n" "x"];
|
||||||
|
"gj" = ["n" "x"];
|
||||||
|
"gk" = ["n" "x"];
|
||||||
|
"<CR>" = ["n" "x"];
|
||||||
|
"<C-M>" = ["n" "x"];
|
||||||
|
"<C-N>" = ["n" "x"];
|
||||||
|
"<C-P>" = ["n" "x"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue