aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-28 21:42:15 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-28 21:42:15 +1300
commitebf0f4bea112cb242de2502daa5074a6c63c806a (patch)
tree82bb81a44a5abbaf24bd38e69ce78d6616f77864 /vim
parentMove syntax config back into .vimrc (diff)
downloaddotfiles-ebf0f4bea112cb242de2502daa5074a6c63c806a.tar.gz
dotfiles-ebf0f4bea112cb242de2502daa5074a6c63c806a.zip
Move digraphs .vimrc config into subfile
Diffstat (limited to 'vim')
-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