From c7807a99dbca575f49f11d2c2ddda1506dc73fe8 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 11 Mar 2019 16:42:15 -0400 Subject: [PATCH] init.vim updated for movement to ~/.config/ --- .config/nvim/init.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 2833984..09896a7 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -37,7 +37,7 @@ set clipboard=unnamedplus set splitbelow splitright " Nerd tree - map :NERDTreeToggle + map n :NERDTreeToggle autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif " vimling: @@ -92,10 +92,10 @@ set clipboard=unnamedplus autocmd BufWritePre * %s/\s\+$//e " When shortcut files are updated, renew bash and ranger configs with new material: - autocmd BufWritePost ~/.bmdirs,~/.bmfiles !shortcuts + autocmd BufWritePost ~/.config/bmdirs,~/.config/bmfiles !shortcuts " Run xrdb whenever Xdefaults or Xresources are updated. - autocmd BufWritePost ~/.Xresources,~/.Xdefaults !xrdb % + autocmd BufWritePost *Xresources,*Xdefaults !xrdb % " Navigating with guides inoremap /<++>"_c4l