addressed feedback

This commit is contained in:
MrStashley 2024-03-13 16:01:49 -07:00
parent 54295ff54d
commit 5737425463
2 changed files with 6 additions and 3 deletions

View File

@ -55,8 +55,7 @@
}, },
{ {
"command": "app:focusCmdInput", "command": "app:focusCmdInput",
"keys": ["Cmd:i"], "keys": ["Cmd:i"]
"commandStr":"/mainview session;/screen:set focus=cmd;/screen:set focus=input"
}, },
{ {
"command": "app:focusSelectedLine", "command": "app:focusSelectedLine",

View File

@ -228,7 +228,11 @@ class Model {
for (let index = 1; index <= 9; index++) { for (let index = 1; index <= 9; index++) {
this.keybindManager.registerKeybinding("app", "model", "app:selectWorkspace-" + index, null); this.keybindManager.registerKeybinding("app", "model", "app:selectWorkspace-" + index, null);
} }
this.keybindManager.registerKeybinding("app", "model", "app:focusCmdInput", null); this.keybindManager.registerKeybinding("app", "model", "app:focusCmdInput", (waveEvent) => {
console.log("focus cmd input callback");
this.onFocusCmdInputPressed();
return true;
});
this.keybindManager.registerKeybinding("app", "model", "app:bookmarkActiveLine", null); this.keybindManager.registerKeybinding("app", "model", "app:bookmarkActiveLine", null);
this.keybindManager.registerKeybinding("app", "model", "app:openHistory", null); this.keybindManager.registerKeybinding("app", "model", "app:openHistory", null);
this.keybindManager.registerKeybinding("app", "model", "app:openTabSearchModal", (waveEvent) => { this.keybindManager.registerKeybinding("app", "model", "app:openTabSearchModal", (waveEvent) => {