Monday, October 12, 2015

Re: slow display update, maybe due to folded text

On 12.10.15 02:03, Paul wrote:
> I'm using X-windows on cygwin...but I'm wondering if you and I are
> talking about the same kind of window. I'm referring specifically to
> a vim window.

Ahh, I've found Vim's split windows so abhorrently restrictive (they
show so little of the text), that I forgot they existed. Flipping
between full-sized buffers shows so much more.

I suppose I do use one when invoking :help. In that case, a bright red
solid rectangular cursor is an unmissable beacon against yellow text on
a darkslategrey background. No detection aids are necessary, I find.
(It's only a faint red outline when X11 focus is lost, or disappears
entirely when switching to another Vim split window.)

What I'm using is just:

" Cursor Appearance and behaviour:
" (Insert_Mode == Green, Normal_Mode == Red)
if &term =~ "xterm"
let &t_SI = "\<Esc>]12;green\x7"
let &t_EI = "\<Esc>]12;red\x7"
endif

OK, if in insert mode, the light green might take a moment longer to
pick up if there's a lot of cigar smoke in the room, but hitting the
space bar to make it move overcomes that. (Useful too if Vim's
spellchecking has been invoked, and a window is full of scraps of red.
Briefly entering insert mode, to make the cursor green, is an
alternative instant highlighter in that case.)

I find that with my eyes broadly focused on the whole monitor, such
motion is immediately detected.

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:

Post a Comment