.vimrc list adjustments by jarcher

Show listchars by default, but just for tabs and whitespace at the end of line.
This commit is contained in:
Stefan Gaiselmann 2022-01-23 15:09:44 +01:00
parent 81cd2c8791
commit e8fb296426

View File

@ -51,9 +51,12 @@ set scrolloff=4 " keep 4 lines off the edges of the screen when
set virtualedit=all " allow the cursor to go in to "invalid" places
set hlsearch " highlight search terms
set incsearch " show search matches as you type
set listchars=eol:$,tab:>-,trail:·,extends:#,nbsp:·
set nolist " don't show invisible characters by default,
" Listchars inspired by Jess Archer
" https://github.com/jessarcher/dotfiles/blob/master/nvim/init.vim
set list
set listchars=tab:▸\ ,trail:·
# originally: set nolist " don't show invisible characters by default,
" but it is enabled for some file types (see later)
set pastetoggle=<F2> " when in insert mode, press <F2> to go to
" paste mode, where you can paste mass data