Monday, December 8, 2014

Re: Is there a way to get info when Vim enters into operator-pending-mode and leaves it?

Ben,
thanks for your comment. I have already tested this solution few weeks ago and I didn't like it. Why? Because I am switching between applications (gVim and others) and I am using Caps Locks in other applications and when switching to gVim your suggested solution requires! to disable Caps Lock. I often forget to press Caps Lock to disable it in gVim and also I actually don't want to disable it for other applications.

Currently I have managed to write a program in AutoHotKey to have Caps Lock zero effect on gVim, but it works perfectly in other applications. So if I press Caps Lock and type some text e.g. in Notepad then upper case letters are displayed. Switching to gVim and Caps Lock has no effect despite being turned on (caps lock light on keyboard), switching back to Notepad and I still have Caps lock enabled so upper case. This is exactly what I want.

So the main problem is still there. Is there any way to get info from gVim to tell me that it is currently in operator-pending-mode?

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