Friday, October 17, 2014

How to prevent cursor briefly jumping to top of file on 'edit'?

Hello!

Here's my problem:

1. Open a file in vim which is larger than the window.
2. Go to the bottom of the file.
3. Type `:edit`
4a. Expected behaviour: nothing apparently changes
4b. Actual behaviour: cursor briefly jumps to line 1 then jumps back to bottom of file.

I get this problem on terminal vim ('mvim -v') but not gui MacVim. I'm running Vim 7.4.258.

Is there a way to prevent the flicker caused by 4b?

Thanks in advance!

Yours,
Andy Stewart

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: