Add vim f5 save and make

This commit is contained in:
Arti Zirk 2020-01-06 10:06:02 +02:00
parent fabd035e48
commit d3b85ac81d
1 changed files with 3 additions and 0 deletions

View File

@ -19,3 +19,6 @@ let g:deoplete#enable_at_startup = 1
" Allow saving of files as sudo when I forgot to start vim using sudo.
cmap w!! w !sudo tee > /dev/null %
" F5 to save and make
:map <f5> :w \| :make<CR>