aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/config/digraphs.vim6
-rw-r--r--vim/vimrc7
2 files changed, 6 insertions, 7 deletions
diff --git a/vim/config/digraphs.vim b/vim/config/digraphs.vim
new file mode 100644
index 00000000..0982d94f
--- /dev/null
+++ b/vim/config/digraphs.vim
@@ -0,0 +1,6 @@
+" A few very important custom digraphs
+if has('digraphs')
+ digraph ./ 8230 " Ellipsis (HORIZONTAL ELLIPSIS U+2026)
+ digraph %% 8984 " Mac command key (PLACE OF INTEREST SIGN U+2318)
+ digraph 8: 9731 " Snowman (SNOWMAN U+2603)
+endif
diff --git a/vim/vimrc b/vim/vimrc
index 3a579836..f0b2faf7 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -58,13 +58,6 @@ endif
" the open buffers; I'll open the file if I want to complete from it
set complete-=i
-" A few very important custom digraphs
-if has('digraphs')
- digraph ./ 8230 " Ellipsis (HORIZONTAL ELLIPSIS U+2026)
- digraph %% 8984 " Mac command key (PLACE OF INTEREST SIGN U+2318)
- digraph 8: 9731 " Snowman (SNOWMAN U+2603)
-endif
-
" Try Mac line-endings if UNIX or DOS don't make sense; this has never
" happened to me but who knows, it might one day
set fileformats+=mac