diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-12-01 21:28:22 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-12-01 21:28:22 +1300 |
commit | c0c43ecde50dc239855936dc2206d83ad95ec619 (patch) | |
tree | 0eb4be61fe426a28ae30f27b9d2a7c3dd91ad009 /vim | |
parent | Turned out reverse-thread sucks for mailing lists (diff) | |
download | dotfiles-c0c43ecde50dc239855936dc2206d83ad95ec619.tar.gz dotfiles-c0c43ecde50dc239855936dc2206d83ad95ec619.zip |
Custom digraph rules
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |