mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/wtf: add history and grep_history keymaps
This commit is contained in:
parent
87e3c4a1b2
commit
8fd162d951
2 changed files with 13 additions and 1 deletions
|
@ -24,6 +24,18 @@ let
|
||||||
mode = "n";
|
mode = "n";
|
||||||
action.__raw = "require('wtf').search";
|
action.__raw = "require('wtf').search";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
history = {
|
||||||
|
key = "wh";
|
||||||
|
mode = "n";
|
||||||
|
action.__raw = "require('wtf').history";
|
||||||
|
};
|
||||||
|
|
||||||
|
grep_history = {
|
||||||
|
key = "wg";
|
||||||
|
mode = "n";
|
||||||
|
action.__raw = "require('wtf').grep_history";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
keymaps = {
|
keymaps = {
|
||||||
ai = "gw";
|
ai.key = "gw";
|
||||||
search = {
|
search = {
|
||||||
mode = [
|
mode = [
|
||||||
"n"
|
"n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue