Hi,
bootleq wrote:
2011/9/5 James Vega james...@jamessan.com mailto:james...@jamessan.com
On Sun, Sep 04, 2011 at 10:47:53AM +0800, bootleq wrote:
About the automatically added jump:
It' reasonable when undoing a single change.
But if we do many changes at one
Thank you, I can keep jumplist unchanged now.
But back to my first message, the cursor still silently move to first
changed line.
2011/9/5 Jürgen Krämer jottka...@googlemail.com
Hi,
bootleq wrote:
2011/9/5 James Vega james...@jamessan.com mailto:james...@jamessan.com
On Sun,
On Sun, Sep 04, 2011 at 10:47:53AM +0800, bootleq wrote:
About the automatically added jump:
It' reasonable when undoing a single change.
But if we do many changes at one function, one undo block,
we might want to keep the cursor unchanged after undo.
You can use the :keepjumps command to
Yes, thanks, but in this case, with
1) :keepjumps | call setline(1, 'bar')
2) :keepjumps | undo
it still jump to line 1.
2011/9/5 James Vega james...@jamessan.com
On Sun, Sep 04, 2011 at 10:47:53AM +0800, bootleq wrote:
About the automatically added jump:
It' reasonable when undoing a
Hi, I found a inconsistent behavior.
Original text:
1 foo
2 foo
3 foo
Put cursor at line 3, then `:call setline(1, 'bar')`
text become:
1 bar
2 foo
3 foo
Then press 'u' to undo 'bar' to 'foo'.
1) There will be a jump to line 1 (the first line in changed lines)
2) However, if we called `:call