vimrc: add listchars

This commit is contained in:
Franzi 2020-06-21 13:23:06 +02:00
parent 46ffb6008b
commit 26267a1fcd
Signed by untrusted user: kunsi
GPG key ID: 12E3D2136B818350

6
.vimrc Executable file → Normal file
View file

@ -16,15 +16,13 @@ set showcmd
set encoding=utf-8 set encoding=utf-8
set autowrite set autowrite
set noautochdir set noautochdir
set list
set listchars=trail:␣,tab:→\ ,extends:>,precedes:<
set hlsearch set hlsearch
map <silent> <c-k> :nohlsearch<CR> 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