sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
809 stars 39 forks source link

Bindings for going to the top or the bottom for command palette and go to anything (-> quick panels in general) #21

Open FichteFoll opened 11 years ago

FichteFoll commented 11 years ago

Similar to #20 3. there is no possibility to go to the top or the bottom of a command palette's list. I suggest mapping the "ctrl+home" and "ctrl+end" hotkeys to this because the usual "home" would be used to modify the actual search query. Page up and down mappings could also be added in this process.

Updated issue to account for all quick panels in general.

ticky commented 11 years ago

:thumbsup: Definitely something that would be useful.

steven-pribilinskiy commented 11 years ago

I hope it will be implemented soon

ghost commented 9 years ago

Along these lines does anybody also miss the option to "jump to letter" in panels? For example, typing Theme in Package Control filters just the theme packages but let's say I want to go back to a certain package in the list (when browsing with the down arrow key). I'd like to type in the package name and it would just scroll to it, showing the following packages as usual, without filtering.

ghost commented 6 years ago

QuickPanelEnhanced helps mitigate the issue.

{ "keys": [ "backspace" ], "command": "quick_panel_delete", "args": { "delay": 200 }, "context": [{ "key": "overlay_visible", "operator": "equal", "operand": true }, { "key": "setting.is_widget", "operator": "equal", "operand": true }, { "key": "panel_has_focus", "operator": "equal", "operand": false }]},
{ "keys": [ "pageup" ], "command": "quick_panel_page_up", "args": { "count": 7 }, "context": [{ "key": "overlay_visible", "operator": "equal", "operand": true }, { "key": "setting.is_widget", "operator": "equal", "operand": true }, { "key": "panel_has_focus", "operator": "equal", "operand": false }]},
{ "keys": [ "pagedown" ], "command": "quick_panel_page_down", "args": { "count": 7 }, "context": [{ "key": "overlay_visible", "operator": "equal", "operand": true }, { "key": "setting.is_widget", "operator": "equal", "operand": true }, { "key": "panel_has_focus", "operator": "equal", "operand": false }]},
{ "keys": [ "home" ], "command": "quick_panel_page_up", "args": { "count": 999 }, "context": [{ "key": "overlay_visible", "operator": "equal", "operand": true }, { "key": "setting.is_widget", "operator": "equal", "operand": true }, { "key": "panel_has_focus", "operator": "equal", "operand": false }]},
{ "keys": [ "end" ], "command": "quick_panel_page_down", "args": { "count": 999 }, "context": [{ "key": "overlay_visible", "operator": "equal", "operand": true }, { "key": "setting.is_widget", "operator": "equal", "operand": true }, { "key": "panel_has_focus", "operator": "equal", "operand": false }]},