1
0
forked from extern/nix-config

neovim: Make it easier to exit terminal

Note that <Esc> 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.
This commit is contained in:
Donovan Glover 2023-06-09 09:55:28 -04:00
parent 9f78256c4c
commit 6a53d7f5eb
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -62,6 +62,8 @@ in {
autocmd BufNewFile,BufRead *.ecr setlocal syntax=html
autocmd BufWritePre,FileWritePre * silent! call mkdir(expand('<afile>:p:h'), 'p')
autocmd VimEnter * silent! :cd `git rev-parse --show-toplevel`
tnoremap <C-space> <C-\><C-n>
'';
plugins = with pkgs.vimPlugins; [
{