Concede 'list'

Closes #5.
This commit is contained in:
Tim Pope
2013-01-08 00:48:27 -05:00
parent a16257d90f
commit 7ad81be28b
2 changed files with 2 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ mostly `:set` calls.) Here's a taste:
* `'backspace'`: Backspace through anything in insert mode.
* `'incsearch'`: Start searching before pressing enter.
* `'listchars'`: Show trailing whitespace.
* `'listchars'`: Makes `:set list` (visible whitespace) prettier.
* `'scrolloff'`: Always show at least one line above/below the cursor.
* `'directory'`: Dump swap files under `~/.cache/vim/swap` (only if that
directory already exists). Also `'backupdir'` and `'undodir'`. Try

View File

@@ -42,8 +42,7 @@ set scrolloff=1
set sidescrolloff=5
set display+=lastline
if !&list && &listchars ==# 'eol:$'
set list
if &listchars ==# 'eol:$'
set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+
if &termencoding ==# 'utf-8' || &encoding ==# 'utf-8'
let &listchars = "tab:\u21e5 ,trail:\u2423,extends:\u21c9,precedes:\u21c7,nbsp:\u26ad"