Adds plugin for easy sudo write
This commit is contained in:
parent
fe37aaac19
commit
3663b570ce
4
init.vim
4
init.vim
|
@ -13,6 +13,7 @@ Plug 'vim-airline/vim-airline-themes'
|
||||||
Plug 'https://gitea.tforgione.fr/tforgione/peach.git'
|
Plug 'https://gitea.tforgione.fr/tforgione/peach.git'
|
||||||
Plug 'scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree'
|
||||||
Plug 'tpope/vim-abolish'
|
Plug 'tpope/vim-abolish'
|
||||||
|
Plug 'lambdalisue/suda.vim'
|
||||||
|
|
||||||
" Language specific plugins
|
" Language specific plugins
|
||||||
|
|
||||||
|
@ -79,6 +80,9 @@ elseif executable('make')
|
||||||
vnoremap <silent><F12> :wa \|!make -p %:p<CR>
|
vnoremap <silent><F12> :wa \|!make -p %:p<CR>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" SudaWrite with W
|
||||||
|
command W SudaWrite
|
||||||
|
|
||||||
" Escape on F1
|
" Escape on F1
|
||||||
map <F1> <Esc>
|
map <F1> <Esc>
|
||||||
imap <F1> <Esc>
|
imap <F1> <Esc>
|
||||||
|
|
Loading…
Reference in New Issue