Skip to content

Shortcut keys to navigate the snippets panel #31

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

Closed
ffes opened this issue Jan 24, 2020 · 1 comment
Closed

Shortcut keys to navigate the snippets panel #31

ffes opened this issue Jan 24, 2020 · 1 comment

Comments

@ffes
Copy link
Owner

ffes commented Jan 24, 2020

As suggested by @gwarah in #30

He suggest a shortcut key to focus the list of snippets and a shortcut key to focus the combo to select the library.

To make that possible the Snippets-menu in the Plugin menu needs to get to actions to focus those items. Then it is up to the user to add their own favorite shortcut key with the shortcut keys dialog of N++

@gwarah
Copy link

gwarah commented Jan 24, 2020

There are two important use cases to analyze this issue:

  1. User wants to get a stored snippet: in my opinion is exactly as you've described:

He suggest a shortcut key to focus the list of snippets and a shortcut key to focus the combo to select the library.

  1. User wants to save a selected code as a snippet: in such cases I suggest (if possible) a new shortcut that performs 2 actions: change the focus to snippet frame and then open the context menu, or in the npp menu context, insert a option to this functionallity. Maybe this case also will require one more issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants