mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-29 20:04:28 +02:00
plugins/leap: init + test (#453)
This commit is contained in:
parent
ff4c8cf8b3
commit
b510cf8376
3 changed files with 225 additions and 0 deletions
29
tests/test-sources/plugins/utils/leap.nix
Normal file
29
tests/test-sources/plugins/utils/leap.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.leap.enable = true;
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.leap = {
|
||||
enable = true;
|
||||
|
||||
addDefaultMappings = true;
|
||||
maxPhaseOneTargets = 10;
|
||||
highlightUnlabeledPhaseOneTargets = false;
|
||||
maxHighlightedTraversalTargets = 10;
|
||||
caseSensitive = false;
|
||||
equivalenceClasses = [" \t\r\n"];
|
||||
substituteChars = {"\r" = "¬";};
|
||||
safeLabels = ["s" "f" "n" "u" "t" "/" "S" "F" "N" "L" "H" "M" "U" "G" "T" "?" "Z"];
|
||||
labels = ["s" "f" "n" "j" "k" "l" "h" "o" "d" "w" "e" "m" "b" "u" "y" "v" "r" "g" "t" "c" "x" "/" "z" "S" "F" "N" "J" "K" "L" "H" "O" "D" "W" "E" "M" "B" "U" "Y" "V" "R" "G" "T" "C" "X" "?" "Z"];
|
||||
specialKeys = {
|
||||
nextTarget = "<enter>";
|
||||
prevTarget = "<tab>";
|
||||
nextGroup = "<space>";
|
||||
prevGroup = "<tab>";
|
||||
multiAccept = "<enter>";
|
||||
multiRevert = "<backspace>";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue