summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hm/nixvim/config.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hm/nixvim/config.nix b/hm/nixvim/config.nix
index e0e034b..99d003f 100644
--- a/hm/nixvim/config.nix
+++ b/hm/nixvim/config.nix
@@ -50,6 +50,11 @@ pkgs: {
       key = "<A-s>";
       action = ":Neotree float git_status<cr>";
     }
+    {
+      mode = ["n" "i"];
+      key = "<Esc>";
+      action = "<cmd>noh<CR><Esc>";
+    }
   ];
   extraPlugins = with pkgs.vimPlugins; [
     vim-airline-themes