X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.vimrc;h=7a3ca5db2d1d4149d37b1a57425fa118d4633c90;hp=6e561c6e8db6ac86c4ffbe5d37d0b78a8e6e33c7;hb=7cfa2e04af2ae08ec3890c116580b8cdfc0653f9;hpb=0e802cdc4141d6d20356c83ac14207ff747aaed1 diff --git a/.vimrc b/.vimrc index 6e561c6..7a3ca5d 100644 --- a/.vimrc +++ b/.vimrc @@ -737,7 +737,7 @@ fun! Show_List() "{{{2 elseif Has_Unicode() if w:iainlist == 1 " Just tabs. - return "»" + return "⇥" else " Full list. return "¶" @@ -773,7 +773,15 @@ endfun "}}}2 " Helper for status line. " Show the size of the tabstop. fun! Show_Tabstop() "{{{2 - return &ts + if &et + return &ts + else + if Has_Unicode() + return &ts . "↹" + else + return &ts . "\\" + fi + endif endfun "}}}2 " Helper for status line. @@ -1193,7 +1201,7 @@ endfun "}}}2 fun! Cycle_List() "{{{2 " Pretty UTF-8 listchars. if Has_Unicode() - let basic='tab:»·,trail:…,extends:«,precedes:»' + let basic='tab:⇥·,trail:…,extends:«,precedes:»' let eol='eol:¶' if version >= "700" let basic=basic . ',nbsp:•'