aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-12-01 21:28:22 +1300
committerTom Ryder <tom@sanctum.geek.nz>2013-12-01 21:28:22 +1300
commitc0c43ecde50dc239855936dc2206d83ad95ec619 (patch)
tree0eb4be61fe426a28ae30f27b9d2a7c3dd91ad009 /vim/vimrc
parentTurned out reverse-thread sucks for mailing lists (diff)
downloaddotfiles-c0c43ecde50dc239855936dc2206d83ad95ec619.tar.gz
dotfiles-c0c43ecde50dc239855936dc2206d83ad95ec619.zip
Custom digraph rules
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc7
1 files changed, 3 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 0fa11c88..daec7d82 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -100,11 +100,10 @@ set complete-=i
" InsertLeave events, but also to actually undo the current insert operation
inoremap <C-c> <C-c>u
-" Vim lacks a built-in digraph for an ellipsis character (three dots); I like
-" to use the proper character in UTF-8 HTML documents so I nicked this from
-" Tim Pope
+" A couple of custom digraphs
if has('digraphs')
- digraph ./ 8230
+ digraph ./ 8230 " Ellipsis (HORIZONTAL ELLIPSIS U+2026)
+ digraph %% 8984 " Mac command key (PLACE OF INTEREST SIGN U+2318)
endif
" Try Mac line-endings if UNIX or DOS don't make sense; this has never