Wednesday, February 11, 2015

Re: Locating the cursor

On Monday, February 9, 2015 at 10:15:43 PM UTC-6, Paul wrote:
>
> I don't suppose that some kind vim-script savvy soul could suggest how
> one might other windows from flashing, i.e., have only the window with
> the focus flash?

You're relying on cursorline and cursorcolumn to "flash" the location of your cursor, if I understand your script correctly.

Setting 'cursorline' and 'cursorcolumn' (the options) only affects one window (the current one), but you can turn it on or off in other windows as well, and the highlight will remain there when you leave the window. But the CursorLine and CursorColumn highlight groups affect the highlight in all windows.

So, if you normally keep these options off, then by default you will only flash the active window.

If, however, you have left the options on in other windows; then no, there is not a way to change the highlight of the cursor in a single window only.

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