Monday, July 9, 2012

Re: Undo/redo without cursor motion

Am 09.07.2012 19:30, schrieb Andre Majorel:
> Is there a way to undo/redo without jumping to the start of the
> change ? Thanks in advance.

:KeepView undo

(:KeepView taken from anwolib)
http://vim.sf.net/scripts/script.php?script_id=3800

it's a shortcut for
:h winsaveview()
:h winrestview()

--
Andy

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: