Monday, May 13, 2019

triggering macro on navigation to new line

All,

I just found :set nolazyredraw, which is *very* nice in speeding up
user interaction time, and which helps immensely with my goal of a
quickfix-like editing mode (see the post that I made earlier), so the
only thing left is if there is a way to trigger an action when you go
to a new line, whether you:

1. search for a pattern
2. do :<lineno>
3. hit j or k, up-arrow, down-arrow

I suppose I could re-map each of these actions but IMO it would be a
lot cleaner if something universal existed. Does vim have something
like this?

thanks much again,

--
--
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/CACQ%2BYcuekYV1NeOYOZfsZNyQFskUrGJu0%3DXsRFmeeA4y%2Bgfkvw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments: