Closed jbezos closed 5 years ago
What size would you recommend?
Well, who knows how many functions I'll write, but there is an obvious limitation: keyboards have a limited number of keys (and hands a limited number of fingers). I'm assigning all my functions to ctrl+shift (for example, ctrl+shift+O for a toc of a LaTeX document). There are 26 letters + 10 digits + the numeric keypad + F keys, etc. So, 40-45 seems a reasonable size.
The shortcuts dont need to be assigned to a keyboard combination so in theory there is no limitation. But increasing the limit is not hard...just wanted a rough idea.
Yes, I know, but I use the keyboard for almost everything, so many functions are assigned to a combination. Thank you very much. I discovered Notepad++ recently (I was using Emacs), and with your extension I can do all I need.
I've increased the limit to 100 shortcuts. I don't have any plans to create a new release soon, however you can go ahead and download one of the builds from appveyor:
Download one of the DLLs depending on which one you have installed and just copy over your existing plugin. Note that if you are using the 64 bit version your current DLL file will be named LuaScript_64.dll
but the new 64 bit version from appveyor is just called LuaScript.dll
so just delete your old DLL file and drop this one in.
Does the latest v0.10.1 release include the capability to allow 100 shortcuts as described above?
@pidgeon777 Yes it has been included since v0.9
I've found AddShortcut very convenient, but unfortunately I've reached the limit (about 20) very quickly. I wonder if this limit can be increased somehow.