From 6a53d7f5ebdd58fc31a67b11f410e3de44c73e67 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 9 Jun 2023 09:55:28 -0400 Subject: [PATCH] neovim: Make it easier to exit terminal Note that cannot be used for the keybind here since other plugins like fzf-vim rely on using a terminal window that has its own escape binding. --- modules/neovim/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/neovim/default.nix b/modules/neovim/default.nix index e46c36a..7a10374 100644 --- a/modules/neovim/default.nix +++ b/modules/neovim/default.nix @@ -62,6 +62,8 @@ in { autocmd BufNewFile,BufRead *.ecr setlocal syntax=html autocmd BufWritePre,FileWritePre * silent! call mkdir(expand(':p:h'), 'p') autocmd VimEnter * silent! :cd `git rev-parse --show-toplevel` + + tnoremap ''; plugins = with pkgs.vimPlugins; [ {