Monday, October 12, 2015

Re: slow display update, maybe due to folded text

On 11.10.15 16:02, Paul wrote:
> I have the following function that flashes crosshairs in the current
> window so that my attention gets brought to where the active window
> is, and where the cursor is.
...
> I'm finding that if I have a window with many closed folds, *and* I
> have another window containing a different file, then the 150ms is
> more like a full second. I'm assuming that vim is going through all the
> folded lines in order to update the display. It's very annoying when
> I work with many windows. Is there an (uncomplicated) way to
> ameliorate this problem?

Yes, in gnome, at least, there's a dead simple way to instantly locate
the pointer in the active window. Just hit the Control key, after having
set:

On Ubuntu:
Preferences->Mouse:Locate_Pointer

Or on Debian:
Applications->System_Tools->Preferences->System_Settings->Mouse_and_Touchpad:
Show position of pointer when Control key is pressed

Neither folding nor the prevailing wind direction then pose any
impediment to rapid location.

Erik

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