From 65c3a5103b7b8a1736060e8a758ef882a15c3d12 Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 6 May 2022 12:38:33 -0700 Subject: [PATCH] Changed tab character Added list option to text file --- vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index ed3c80f..8e7896b 100644 --- a/vimrc +++ b/vimrc @@ -189,7 +189,9 @@ set numberwidth=4 " Display invisible characters. " Show tabs as '<--->', and trailing spaces as '·' 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. " Save them in /tmp instead. @@ -255,4 +257,5 @@ augroup pencil autocmd! autocmd FileType markdown,mkd call pencil#init({'wrap': 'soft'}) autocmd FileType text call pencil#init() + autocmd FileType text setlocal list augroup END