aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-02 11:02:39 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-02 11:02:39 +1200
commitab847d44e227e8f054522c4695077988fc465d17 (patch)
tree5abf99a184c3746b00a0b32009ec9ce0b9126bf8 /vim/vimrc
parentcbaa10e9f4b2708ad1733f06992e68cba9d04296 (diff)
downloaddotfiles-ab847d44e227e8f054522c4695077988fc465d17.tar.gz
dotfiles-ab847d44e227e8f054522c4695077988fc465d17.zip
Reimplement fallback for fixed_join.vim
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 80eef1e6..15d86763 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -173,9 +173,9 @@ inoremap <Plug>InsertCancel <C-C>u
imap <C-C> <Plug>InsertCancel
" Remap normal J to stay in place while joining lines
-if &loadplugins
- nmap J <Plug>FixedJoin
-endif
+" Default to not-quite-correct vim-tiny-compatible map if no plugin
+nnoremap <Plug>FixedJoin mzJ`z
+nmap J <Plug>FixedJoin
" Remap normal/visual <Space> to scroll down a page
nnoremap <Space> <C-F>