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
1 changed files with 3 additions and 0 deletions

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