init.vim updated for movement to ~/.config/
This commit is contained in:
parent
201a9c2a49
commit
c7807a99db
1 changed files with 3 additions and 3 deletions
|
@ -37,7 +37,7 @@ set clipboard=unnamedplus
|
||||||
set splitbelow splitright
|
set splitbelow splitright
|
||||||
|
|
||||||
" Nerd tree
|
" Nerd tree
|
||||||
map <C-n> :NERDTreeToggle<CR>
|
map <leader>n :NERDTreeToggle<CR>
|
||||||
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
||||||
|
|
||||||
" vimling:
|
" vimling:
|
||||||
|
@ -92,10 +92,10 @@ set clipboard=unnamedplus
|
||||||
autocmd BufWritePre * %s/\s\+$//e
|
autocmd BufWritePre * %s/\s\+$//e
|
||||||
|
|
||||||
" When shortcut files are updated, renew bash and ranger configs with new material:
|
" 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.
|
" Run xrdb whenever Xdefaults or Xresources are updated.
|
||||||
autocmd BufWritePost ~/.Xresources,~/.Xdefaults !xrdb %
|
autocmd BufWritePost *Xresources,*Xdefaults !xrdb %
|
||||||
|
|
||||||
" Navigating with guides
|
" Navigating with guides
|
||||||
inoremap <leader><leader> <Esc>/<++><Enter>"_c4l
|
inoremap <leader><leader> <Esc>/<++><Enter>"_c4l
|
||||||
|
|
Loading…
Reference in a new issue