From bd843173ad362c901521011dd95b5ef326d09867 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 27 Jun 2018 14:55:50 +1200 Subject: Move digraphs to more sensible location --- vim/vimrc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 1e2f8362..bbcb7db6 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -225,13 +225,6 @@ nnoremap ZA :wall! " ZW unconditionally writes current buffer nnoremap ZW :write! -" Custom digraphs -if has('digraphs') - digraph ./ 8230 " HORIZONTAL ELLIPSIS U+2026 - digraph %% 8984 " PLACE OF INTEREST SIGN U+2318 (Mac command key) - digraph 8: 9731 " SNOWMAN U+2603 -endif - " Normal mode leader mappings below; use a literal backslash rather than " on the non-plugin maps so that they work on vim-tiny @@ -283,6 +276,13 @@ nmap x StripTrailingWhitespace " \z sets NZ English spelling (compare \u) nnoremap \z :setlocal spelllang=en_nz spelllang? +" Custom digraphs +if has('digraphs') + digraph ./ 8230 " HORIZONTAL ELLIPSIS U+2026 + digraph %% 8984 " PLACE OF INTEREST SIGN U+2318 (Mac command key) + digraph 8: 9731 " SNOWMAN U+2603 +endif + " Settings for plugins if &loadplugins -- cgit v1.2.3