Browse Source

Add vim f5 save and make

master
Arti Zirk 5 years ago
parent
commit
d3b85ac81d
  1. 3
      .config/nvim/init.vim

3
.config/nvim/init.vim

@ -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…
Cancel
Save