-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add. HotKeys plugin #93
base: master
Are you sure you want to change the base?
Conversation
I still not sure how to answer to these questins
|
I think that would be very useful!
I agree; all of these sound good/reasonable. In fact I'd think that 5 seconds can be too much. When I thought about this in the past, I considered adding an auto-complete popup with the currently available options in the chain along with their descriptions. That would "force" the interaction for the user and make the flow easier to handle and potentially a bit more convenient for the user, as the shortcuts (and what's going on) would be more discoverable.
If I understand it correctly, I think it should be set up as a regular hot key in this case.
They can be redefined using (CmdKeyAssign)[https://www.scintilla.org/ScintillaDoc.html#SCI_ASSIGNCMDKEY]. It's used to assign editor-specific shortcuts. Unfortunately I don't see any way to retrieve the current mapping (short of tracking all assignments including the default ones). |
The last commit requires |
Strings like `Ctrl-K M` or `Ctrl-K Ctrl-M`
Support chanied hotkeys
Usage
Possible improvements
ID.NEW
)Ctrl-D
by default duplicates current line. It should be possible to addCtrl-K Ctrl-D
to do some other action.