aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-07 22:06:36 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-07 22:06:36 +1200
commit9831950c0da2efcf757fe19118571e5560e800a1 (patch)
tree360e35c74e0ba213108a7786b00c86217788ae25 /vim
parentbda650a7e5e72a9205112884cd7ba18198dff8f9 (diff)
downloaddotfiles-9831950c0da2efcf757fe19118571e5560e800a1.tar.gz
dotfiles-9831950c0da2efcf757fe19118571e5560e800a1.zip
Set some more 'listchars' options
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 25907ffb..f5a2ac85 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -363,9 +363,11 @@ nnoremap <silent> <Leader>w :<C-U>set wrap! wrap?<CR>
" 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