aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-26 09:27:24 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-26 09:27:24 +1200
commit764c5c260b114750fd157f3839e48ea2cb0aa677 (patch)
tree9bed6fbb2527487e476623c96af1198d59588038 /vim/vimrc
parentMerge branch 'release/v1.4.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-764c5c260b114750fd157f3839e48ea2cb0aa677.tar.gz
dotfiles-764c5c260b114750fd157f3839e48ea2cb0aa677.zip
Merge branch 'release/v1.5.0'v1.5.0
* release/v1.5.0: Bump VERSION Add fallback for normal J Expand/fix messages filetype detection
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 12892474..2e90ecbe 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -200,7 +200,8 @@ nnoremap ]t :<C-U>tabnext<CR>
nmap [<Space> <Plug>PutBlankLinesAbove
nmap ]<Space> <Plug>PutBlankLinesBelow
-" Remap normal J to hold the cursor still while joining lines
+" Remap normal J to stay in place while joining lines; fall back to default
+nnoremap <Plug>FixedJoin J
nmap J <Plug>FixedJoin
" Remap normal Y to yank to end of line (consistent with C, D)