1 Dec 2011 14:42
[PATCH] add {dict} argument to getcharmod()
tyru <tyru.exe <at> gmail.com>
2011-12-01 13:42:07 GMT
2011-12-01 13:42:07 GMT
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
RSS Feed