From ebf0f4bea112cb242de2502daa5074a6c63c806a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 28 Oct 2017 21:42:15 +1300 Subject: Move digraphs .vimrc config into subfile --- vim/config/digraphs.vim | 6 ++++++ vim/vimrc | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 vim/config/digraphs.vim 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 -- cgit v1.2.3