Saturday, April 9, 2022

global command

Hi,

How to not moving cursor when executing global command ?

g/^EOF/call add(g:ends, line('.'))

Thank you

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/e3a1f097-7eec-4246-9bf9-95458e8be9e4n%40googlegroups.com.

No comments: