diff options
Diffstat (limited to 'vim/config/join.vim')
-rw-r--r-- | vim/config/join.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/config/join.vim b/vim/config/join.vim new file mode 100644 index 00000000..5f75d89b --- /dev/null +++ b/vim/config/join.vim @@ -0,0 +1,4 @@ +" Don't jump my screen around when I join lines, keep my cursor in the same +" place; this is done by dropping a mark first and then immediately returning +" to it; note that it wipes out your z mark, if you happen to use it +nnoremap J mzJ`z |