vimrc: add :w!!

This commit is contained in:
Franzi 2020-01-29 10:03:47 +00:00
parent d52aead833
commit 82050166d4
Signed by: kunsi
GPG key ID: 12E3D2136B818350

3
.vimrc
View file

@ -23,5 +23,8 @@ map <silent> <c-k> :nohlsearch<CR>
set colorcolumn=72,120
hi colorcolumn ctermbg=NONE ctermfg=red cterm=bold guibg=NONE guifg=red gui=bold
" sudo-write with :w!!
cnoremap w!! w !sudo tee >/dev/null %
au BufRead /tmp/neomutt-* set tw=72
au BufRead /tmp/mutt-* set tw=72