On 01/06/09 15:16, Ricky wrote:
>
> Maybe we should use soft implement to enable/disable caps:
> http://www.vim.org/scripts/script.php?script_id=1725
> I have tried this, but I really want vim can display caps lock status.
>
> And I only have Cygwin, of course can't use xset command.
Are you sure xset isn't available for Cygwin?
>
> If vim support CAPSLOCK key's map, this is not a problem:)
No, Vim isn't aware of Caps Lock status AFAIK.
If you know how to, you may have to write a small program in assembly
language to interrogate Caps Lock status and type it out on sysout,
assemble and link it (probably to a COM file) and invoke that in Vim
through the system() function. Other than that, I don't know.
Best regards,
Tony.
--
"The last time somebody said, `I find I can write much better with a
word processor.', I replied, `They used to say the same thing about
drugs.'
-- Roy Blount, Jr.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---