git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed Pentadactyl with uBlock Origin popup.
[profile.git]
/
.vimrc
diff --git
a/.vimrc
b/.vimrc
index
6e561c6
..
7a3ca5d
100644
(file)
--- a/
.vimrc
+++ b/
.vimrc
@@
-737,7
+737,7
@@
fun! Show_List() "{{{2
elseif Has_Unicode()
if w:iainlist == 1
" Just tabs.
elseif Has_Unicode()
if w:iainlist == 1
" Just tabs.
- return "
»
"
+ return "
⇥
"
else
" Full list.
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
" 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.
endfun "}}}2
" Helper for status line.
@@
-1193,7
+1201,7
@@
endfun "}}}2
fun! Cycle_List() "{{{2
" Pretty UTF-8 listchars.
if Has_Unicode()
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:•'
let eol='eol:¶'
if version >= "700"
let basic=basic . ',nbsp:•'