Label some nvim keybinds

This commit is contained in:
Emi Simpson 2023-12-18 11:06:19 -05:00
parent ffc36a4306
commit 4271378a64
Signed by: Emi
GPG Key ID: A12F2C2FFDC3D847
1 changed files with 10 additions and 5 deletions

View File

@ -154,26 +154,31 @@ in
} }
]; ];
mappings = [ mappings = [
{ { # New tab
mode = ""; mode = "";
binding = "<C-t>"; binding = "<C-t>";
command = "<Cmd>:tab split<CR>"; command = "<Cmd>:tab split<CR>";
} }
{ { # File picker
mode = "n"; mode = "n";
binding = "<C-n>"; binding = "<C-n>";
command = "<cmd>call nnn#pick(expand('%:p:h'))<CR>"; command = "<cmd>call nnn#pick(expand('%:p:h'))<CR>";
} }
{ { # Jump
mode = "n"; mode = "n";
binding = "<C-h>"; binding = "<C-h>";
command = "<cmd>HopWord<CR>"; command = "<cmd>HopWord<CR>";
} }
{ { # Jump by characters
mode = "n"; mode = "n";
binding = "<C-l>"; binding = "<C-o>";
command = "<cmd>HopChar2<CR>"; command = "<cmd>HopChar2<CR>";
} }
{ # Clear search
mode = "";
binding = "<C-l>";
command = "<cmd>noh<CR>";
}
{ {
mode = "i"; mode = "i";
binding = "<Tab>"; binding = "<Tab>";