Auto-source vimrc

This commit is contained in:
Jordan Holt 2021-01-12 23:10:51 +00:00
parent a74491f7b4
commit 9016e6e34c

View File

@ -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'))