Excerpts from Benjamin R. Haskell's message of Thu Jun 28 19:35:19 +0200 2012:
> Unfortunately, spellbadword() can change the cursor position.
So? use
let save_cursor = getpos(".")
MoveTheCursorAround
call setpos('.', save_cursor)
to set cursor to old position. Not perfect - but fine.
A second way is use sp to create a new window, move cursor there, then
:q the split window again.
Marc Weber
--
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:
Post a Comment