aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-23 12:21:02 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-23 12:21:02 +1200
commit0f475e8f274aa85b8434e0c835f7bdbb59744929 (patch)
treed4264fc0085f7dd3d8ecc4c3ee0f7c41b6a9bfa0 /vim/vimrc
parentMerge branch 'release/v1.59.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-0f475e8f274aa85b8434e0c835f7bdbb59744929.tar.gz
dotfiles-0f475e8f274aa85b8434e0c835f7bdbb59744929.zip
Merge branch 'release/v1.60.0'v1.60.0
* release/v1.60.0: Bump VERSION Update replace_operator.vim plugin Update diff_prune.vim plugin Add collation locale def for plmu(1df) sort check Check for existence of :xmap for mapping
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 02f992f3..032d3085 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -299,7 +299,9 @@ nnoremap <Bslash>p :<C-U>set paste! paste?<CR>
nnoremap <Bslash>q gqap
" \r acts as a replacement operator
nmap <Bslash>r <Plug>(ReplaceOperator)
-xmap <Bslash>r <Plug>(ReplaceOperator)
+if exists(':xmap')
+ xmap <Bslash>r <Plug>(ReplaceOperator)
+endif
" \R reloads ~/.vimrc
nnoremap <Bslash>R :<C-U>source $MYVIMRC<CR>
" \s toggles spell checking