mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
plugins/improved-search: init
This commit is contained in:
parent
a88a282a11
commit
ad6a08b695
3 changed files with 173 additions and 0 deletions
49
tests/test-sources/plugins/utils/improved-search.nix
Normal file
49
tests/test-sources/plugins/utils/improved-search.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.improved-search.enable = true;
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.improved-search = {
|
||||
enable = true;
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
mode = ["n" "x" "o"];
|
||||
key = "n";
|
||||
action = "stable_next";
|
||||
}
|
||||
{
|
||||
mode = ["n" "x" "o"];
|
||||
key = "N";
|
||||
action = "stable_previous";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "!";
|
||||
action = "current_word";
|
||||
}
|
||||
{
|
||||
mode = "x";
|
||||
key = "!";
|
||||
action = "in_place";
|
||||
}
|
||||
{
|
||||
mode = "x";
|
||||
key = "*";
|
||||
action = "forward";
|
||||
}
|
||||
{
|
||||
mode = "x";
|
||||
key = "#";
|
||||
action = "backward";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "|";
|
||||
action = "in_place";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue