aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 2e90ecbe..4873b9cd 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -200,9 +200,10 @@ nnoremap ]t :<C-U>tabnext<CR>
nmap [<Space> <Plug>PutBlankLinesAbove
nmap ]<Space> <Plug>PutBlankLinesBelow
-" Remap normal J to stay in place while joining lines; fall back to default
-nnoremap <Plug>FixedJoin J
-nmap J <Plug>FixedJoin
+" Remap normal J to stay in place while joining lines
+if &loadplugins
+ nmap J <Plug>FixedJoin
+endif
" Remap normal Y to yank to end of line (consistent with C, D)
nnoremap Y y$