oops, sorry. forgot to fix getcharmod()'s return value. should be "Number or Dictionary", not "Number".
On Thu, Dec 1, 2011 at 10:42 PM, tyru <[email protected]> wrote: > Hi list. > > I wrote a patch to add {dict} argument to getcharmod(). > `getcharmod(1)` returns Dictionary. > > It is a hassle to see the modifier keys pressed > because Vimscript does not have bitwise AND operator. > If getcharmod() had the feature, it is no more necessary for yak shaving > like this: > https://github.com/tyru/stickykey.vim/blob/aabe981322e7be283b3fc005070e1f99f449558f/autoload/stickykey.vim#L87-L126 > -- You received this message from the "vim_dev" 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
