Enable list by default and add it to zen mode in vim

This commit is contained in:
Talia 2020-10-28 11:44:24 +01:00
parent 71985ca3af
commit 2f2d6ba7eb
2 changed files with 2 additions and 1 deletions

View file

@ -89,6 +89,7 @@ else
set showbreak=↳\
end
set listchars=eol,tab:\│\ ,trail,nbsp:…,space
set list
" Allows setting vim options in other files
set modeline

View file

@ -12,7 +12,7 @@ function s:dumpState(state)
return l:newstate
endfun
let s:state = { "&number": "0", "&relativenumber": "0", "&colorcolumn": "0", "&laststatus": "0", "&fillchars": "eob:\\ ", "&showtabline": "0" }
let s:state = { "&list": "0", "&number": "0", "&relativenumber": "0", "&colorcolumn": "0", "&laststatus": "0", "&fillchars": "eob:\\ ", "&showtabline": "0" }
function Zen()
if exists("g:zenState")