mirror of
https://github.com/jasonwilliams/vscode-helix.git
synced 2024-10-06 13:17:15 +03:00
- Implement Use current selection as the search pattern
- Move Up and Down in suggestion modal
This commit is contained in:
parent
b1d9836799
commit
76adc88164
15
package.json
15
package.json
@ -146,6 +146,11 @@
|
||||
"command": "-editor.action.triggerSuggest",
|
||||
"when": "true"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+n",
|
||||
"command": "-workbench.action.files.newUntitledFile",
|
||||
"when": "true"
|
||||
},
|
||||
{
|
||||
"key": "down",
|
||||
"command": "-selectNextCodeAction",
|
||||
@ -165,6 +170,16 @@
|
||||
"key": "ctrl+p",
|
||||
"command": "selectPrevCodeAction",
|
||||
"when": "codeActionMenuVisible"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+n",
|
||||
"command": "selectNextSuggestion",
|
||||
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+p",
|
||||
"command": "selectPrevSuggestion",
|
||||
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
|
@ -68,6 +68,10 @@ export const actions: Action[] = [
|
||||
enterSearchMode(helixState);
|
||||
}),
|
||||
|
||||
parseKeysExact(['*'], [Mode.Normal], (_) => {
|
||||
vscode.commands.executeCommand('actions.findWithSelection');
|
||||
}),
|
||||
|
||||
// existing
|
||||
parseKeysExact(
|
||||
[KeyMap.Actions.InsertMode],
|
||||
|
Loading…
Reference in New Issue
Block a user