Adds plugin for easy sudo write

This commit is contained in:
Thomas Forgione 2023-05-24 13:10:33 +02:00
parent fe37aaac19
commit 3663b570ce
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,7 @@ Plug 'vim-airline/vim-airline-themes'
Plug 'https://gitea.tforgione.fr/tforgione/peach.git'
Plug 'scrooloose/nerdtree'
Plug 'tpope/vim-abolish'
Plug 'lambdalisue/suda.vim'
" Language specific plugins
@ -79,6 +80,9 @@ elseif executable('make')
vnoremap <silent><F12> :wa \|!make -p %:p<CR>
endif
" SudaWrite with W
command W SudaWrite
" Escape on F1
map <F1> <Esc>
imap <F1> <Esc>