nix-community.nixvim/tests/test-sources/plugins/utils/improved-search.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
959 B
Nix
Raw Normal View History

2024-04-13 11:46:57 +02:00
{
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";
}
];
};
};
}