Tuesday, March 11, 2014

Re: basic question on vim scripting

> When and how? It may appear that you do this too late, too early, on wrong buffer or in wrong context (after running code in a specific context cursor is restored. I do not remember what context though: some autocmd maybe? Or &*expr, though they usually use textlock).

I tried cursor() but it still doesn't move. anyway I think your suggestions pointed me to the right direction (i.e. I probably didn't think about the obvious :) )

I'll have to wait tomorrow to do some other tests though, but anyway thanks both of you for the help

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

Post a Comment