vimrc: add :w!!
This commit is contained in:
parent
d52aead833
commit
82050166d4
1 changed files with 3 additions and 0 deletions
3
.vimrc
3
.vimrc
|
@ -23,5 +23,8 @@ map <silent> <c-k> :nohlsearch<CR>
|
||||||
set colorcolumn=72,120
|
set colorcolumn=72,120
|
||||||
hi colorcolumn ctermbg=NONE ctermfg=red cterm=bold guibg=NONE guifg=red gui=bold
|
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/neomutt-* set tw=72
|
||||||
au BufRead /tmp/mutt-* set tw=72
|
au BufRead /tmp/mutt-* set tw=72
|
||||||
|
|
Loading…
Reference in a new issue