I have thought about write a console program to get the status, I need research first, that plug-in is useful, after exit to normal mode, it will switch lower case automatically. So I will use it until I can write a console program.
I searched the web that Cygwin can use xset, mine not installed. -------------------------------------------------- > > On 01/06/09 15:16, Ricky wrote: >> 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. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
