plugins/improved-search: init

This commit is contained in:
Gaetan Lepage 2024-04-13 11:46:57 +02:00 committed by Gaétan Lepage
parent a88a282a11
commit ad6a08b695
3 changed files with 173 additions and 0 deletions

View 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";
}
];
};
};
}