issues
search
matze
/
vim-move
Plugin to move lines and selections up and down
http://www.vim.org/scripts/script.php?script_id=4687
MIT License
1.21k
stars
56
forks
source link
Fix double jump calling MoveCharLeft on last character
#36
Closed
yukunlin
closed
5 years ago
yukunlin
commented
5 years ago
Changes
Use virtual edit in
onemore
mode to prevent cutting the last character of the line causing the cursor to shift left.
Re-arrange branches in
MoveCharLeft
and
MoveCharRight
to ensure that buffer is always saved and restored before/after a command is invoked.
Patch
Without patch
matze
commented
5 years ago
Thanks again :+1:
Changes
onemore
mode to prevent cutting the last character of the line causing the cursor to shift left.MoveCharLeft
andMoveCharRight
to ensure that buffer is always saved and restored before/after a command is invoked.Patch
Without patch