Not sure if this is how all Geany plugins handle keybindings or just this specific plugin, but I noticed a possible issue. Probably the only way to program this so it might not really be something that can be fixed, but can make things a little confusing.
-This plugins requires user to create "hotkeys.cfg" file. -In this file user adds `<path-to-lua-script>/<script-name>.lua` to each of their Lua scripts, one per line. -The order of these path/name lines in this file determine the order that they show up in "Preferences - Keybindings - Lua Script" -Then assign keybindings to each of these items linked to your Lua scripts. -However if you end up changing/rearranging the line order in the "hotkeys.cfg" file after doing so this is where the issue occurs. -The keybindings seem to be linked to the line numbers only, not the scripts, so when this occurs now different scripts will be assigned to those previous keybindings, so this could be dangerous depending on what those new scripts do. Again, not sure if anything can really be done to fix this, probably not. If not, I have not checked yet but if is does not already exist, might want to mention this somewhere so users can be aware of this. Thank You -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1388 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-plugins/issues/[email protected]>
