From 5ea9fd516fe66bad7a9ab06d15daafd2c86c9690 Mon Sep 17 00:00:00 2001 From: Matheus Peviani Vellone Date: Thu, 26 Jul 2018 13:44:16 -0300 Subject: [PATCH] vim: set autochdir on and jk in insert mode to exit to normal mode --- vim/init.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/init.vim b/vim/init.vim index 3ec1015..19084d8 100644 --- a/vim/init.vim +++ b/vim/init.vim @@ -37,6 +37,7 @@ set background=dark set number set relativenumber set cursorline +set autochdir set inccommand=split @@ -52,6 +53,8 @@ set nofoldenable nnoremap za nnoremap :e +imap jk + nnoremap ve :edit ~/.config/nvim/init.vim nnoremap src :source ~/.config/nvim/init.vim nnoremap h :nohl