diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-27 14:55:50 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-27 14:55:50 +1200 |
commit | bd843173ad362c901521011dd95b5ef326d09867 (patch) | |
tree | 79393da8ce94b480bca4cb1474411c1040f64494 /vim/vimrc | |
parent | Adjust comment formatting (diff) | |
download | dotfiles-bd843173ad362c901521011dd95b5ef326d09867.tar.gz dotfiles-bd843173ad362c901521011dd95b5ef326d09867.zip |
Move digraphs to more sensible location
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 |