diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-25 22:56:04 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-25 22:56:04 +1200 |
commit | 63f7033045108f59ff9aa10bbeaba01200990375 (patch) | |
tree | 4ba02e6f17349087bea5d2c1ca10c0bacdd08226 | |
parent | Expand/fix messages filetype detection (diff) | |
download | dotfiles-63f7033045108f59ff9aa10bbeaba01200990375.tar.gz dotfiles-63f7033045108f59ff9aa10bbeaba01200990375.zip |
Add fallback for normal J
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |