From 9831950c0da2efcf757fe19118571e5560e800a1 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 7 Jun 2018 22:06:36 +1200 Subject: Set some more 'listchars' options --- vim/vimrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index 25907ffb..f5a2ac85 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -363,9 +363,11 @@ nnoremap w :set wrap! wrap? " column with @ symbols instead, which I don't find very helpful set display=lastline -" Clearly show when the start or end of the row does not correspond to the -" start and end of the line -set listchars+=precedes:<,extends:> +" Define list characters +set listchars+=extends:> " Unwrapped text to screen right +set listchars+=precedes:< " Unwrapped text to screen left +set listchars+=tab:>- " Tab characters, preserve width +set listchars+=trail:_ " Trailing spaces " Swap the j/gj and k/gk command pairs so that we move by screen row, not " buffer line, with j/k -- cgit v1.2.3