On 2019-05-13, Ed Peschko wrote:
> 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?
The CursorMoved autocommand event may do what you want. See:
:help CursorMoved
Regards,
Gary
--
--
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/20190513181120.GA12153%40phoenix.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment