aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-10-21 11:32:10 +1300
committerTom Ryder <tom@sanctum.geek.nz>2013-10-21 11:32:10 +1300
commit1f048126fa5ad7c0d38a6d693ebf7c968b55b2ca (patch)
treeb9b495f6ee17601ae8a03ed364f0289976f49521 /vim
parentUse shorthand for null-variable check (diff)
downloaddotfiles-1f048126fa5ad7c0d38a6d693ebf7c968b55b2ca.tar.gz
dotfiles-1f048126fa5ad7c0d38a6d693ebf7c968b55b2ca.zip
Markers for lines that continue offscreen
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index b84280a0..0fa11c88 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -510,6 +510,10 @@ set display=lastline
set nowrap
nnoremap <leader>w :set wrap!<CR>
+" 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:>
+
" When wrapping, j and k should move by screen row, and not to the same
" column number in the previous logical line, which feels very clumsy and is
" seldom particularly helpful; you can use n| to jump to the nth column in a