Auto-source vimrc
This commit is contained in:
parent
a74491f7b4
commit
9016e6e34c
@ -32,11 +32,15 @@ syntax on
|
|||||||
no <C-h> <C-w>h
|
no <C-h> <C-w>h
|
||||||
no <C-l> <C-w>l
|
no <C-l> <C-w>l
|
||||||
|
|
||||||
|
" Visually select the text that was last edited/pasted
|
||||||
|
nmap gV `[v`]
|
||||||
|
|
||||||
no ; :
|
no ; :
|
||||||
|
|
||||||
augroup General
|
augroup General
|
||||||
au!
|
au!
|
||||||
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
||||||
|
autocmd bufwritepost init.vim source $MYVIMRC
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
if empty(glob($XDG_CONFIG_HOME . '/nvim/autoload/plug.vim'))
|
if empty(glob($XDG_CONFIG_HOME . '/nvim/autoload/plug.vim'))
|
||||||
|
Reference in New Issue
Block a user