vimrc: add listchars
This commit is contained in:
parent
46ffb6008b
commit
26267a1fcd
1 changed files with 2 additions and 4 deletions
6
.vimrc
Executable file → Normal file
6
.vimrc
Executable file → Normal 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
|
||||||
|
|
Loading…
Reference in a new issue