aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-27 14:55:50 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-27 14:55:50 +1200
commitbd843173ad362c901521011dd95b5ef326d09867 (patch)
tree79393da8ce94b480bca4cb1474411c1040f64494 /vim/vimrc
parentAdjust comment formatting (diff)
downloaddotfiles-bd843173ad362c901521011dd95b5ef326d09867.tar.gz
dotfiles-bd843173ad362c901521011dd95b5ef326d09867.zip
Move digraphs to more sensible location
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc14
1 files 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 :<C-U>wall!<CR>
" ZW unconditionally writes current buffer
nnoremap ZW :<C-U>write!<CR>
-" 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
" <Leader> on the non-plugin maps so that they work on vim-tiny
@@ -283,6 +276,13 @@ nmap <Leader>x <Plug>StripTrailingWhitespace
" \z sets NZ English spelling (compare \u)
nnoremap \z :<C-U>setlocal spelllang=en_nz spelllang?<CR>
+" 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