mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 01:04:34 +02:00
plugins/utils: move to by-name
This commit is contained in:
parent
faff32b9f1
commit
52f125679f
195 changed files with 2 additions and 102 deletions
105
tests/test-sources/plugins/by-name/leap/default.nix
Normal file
105
tests/test-sources/plugins/by-name/leap/default.nix
Normal file
|
@ -0,0 +1,105 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.leap.enable = true;
|
||||
};
|
||||
|
||||
# https://github.com/nix-community/nixvim/issues/1698
|
||||
autojump-disabled = {
|
||||
plugins.leap = {
|
||||
enable = true;
|
||||
|
||||
safeLabels.__empty = null;
|
||||
};
|
||||
};
|
||||
|
||||
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