Set unicode stuff only if we think it's available, use better fold and vsplit chars

Thu, 31 Jul 2014 11:41:51 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 31 Jul 2014 11:41:51 -0400
changeset 120
3a676c8eaafe
parent 118
ffbf97e1e3eb
child 121
36096e4c5613
child 122
dff13372e830

Set unicode stuff only if we think it's available, use better fold and vsplit chars

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -143,7 +143,11 @@ set enc=utf-8
 set hlsearch
 set ic smartcase
 
-set lcs=tab:→·,trail:·
+if has('gui_running') || $LANG =~ 'UTF-8'
+  set lcs=tab:⇥·,trail:·
+  " eol:↩   not as useful as trail i think
+  set fillchars=fold:∷,vert:│
+endif
 
 set ve=block
 

mercurial