From e8fb296426c1d0a3aa802f610a9c43a1f759a738 Mon Sep 17 00:00:00 2001 From: Stefan Gaiselmann Date: Sun, 23 Jan 2022 15:09:44 +0100 Subject: [PATCH] .vimrc list adjustments by jarcher Show listchars by default, but just for tabs and whitespace at the end of line. --- dot_vimrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dot_vimrc b/dot_vimrc index a921388..a4cd217 100644 --- a/dot_vimrc +++ b/dot_vimrc @@ -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= " when in insert mode, press to go to " paste mode, where you can paste mass data