Changed tab character

Added list option to text file
master
Mark 2022-05-06 12:38:33 -07:00
parent af37456d95
commit 65c3a5103b
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 4 additions and 1 deletions

5
vimrc
View File

@ -189,7 +189,9 @@ set numberwidth=4
" Display invisible characters. " Display invisible characters.
" Show tabs as '<--->', and trailing spaces as '·' " Show tabs as '<--->', and trailing spaces as '·'
set list set list
set listchars=tab:<->,trail " set listchars=tab:<->,trail:·
set listchars=tab:>\ \|,trail,nbsp:⎵
" Special char list: ␠⎵⏎
" Don't clutter directories with swap files. " Don't clutter directories with swap files.
" Save them in /tmp instead. " Save them in /tmp instead.
@ -255,4 +257,5 @@ augroup pencil
autocmd! autocmd!
autocmd FileType markdown,mkd call pencil#init({'wrap': 'soft'}) autocmd FileType markdown,mkd call pencil#init({'wrap': 'soft'})
autocmd FileType text call pencil#init() autocmd FileType text call pencil#init()
autocmd FileType text setlocal list
augroup END augroup END