mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-11-22 00:10:59 +02:00
Add vim f5 save and make
This commit is contained in:
parent
fabd035e48
commit
d3b85ac81d
@ -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.
|
" Allow saving of files as sudo when I forgot to start vim using sudo.
|
||||||
cmap w!! w !sudo tee > /dev/null %
|
cmap w!! w !sudo tee > /dev/null %
|
||||||
|
|
||||||
|
" F5 to save and make
|
||||||
|
:map <f5> :w \| :make<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user