From 4271378a64d83e5d42bcb8b4521f1930e23bdb53 Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Mon, 18 Dec 2023 11:06:19 -0500 Subject: [PATCH] Label some nvim keybinds --- configs/programs/neovim.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/configs/programs/neovim.nix b/configs/programs/neovim.nix index f63fa77..ee7242f 100644 --- a/configs/programs/neovim.nix +++ b/configs/programs/neovim.nix @@ -154,26 +154,31 @@ in } ]; mappings = [ - { + { # New tab mode = ""; binding = ""; command = ":tab split"; } - { + { # File picker mode = "n"; binding = ""; command = "call nnn#pick(expand('%:p:h'))"; } - { + { # Jump mode = "n"; binding = ""; command = "HopWord"; } - { + { # Jump by characters mode = "n"; - binding = ""; + binding = ""; command = "HopChar2"; } + { # Clear search + mode = ""; + binding = ""; + command = "noh"; + } { mode = "i"; binding = "";