Add missing binding + remove invalid note

HOME and END are going back to the start/end of the same line, i.e. they
are different to the other bindings.
pull/21833/head
Clemens Zeidler 2021-03-03 22:07:44 +13:00
parent 0214397e27
commit 7b74085708
1 changed files with 8 additions and 1 deletions

View File

@ -68,7 +68,6 @@ const messageComposerBindings = (): KeyBinding<MessageComposerAction>[] => {
ctrlOrCmd: true, ctrlOrCmd: true,
}, },
}, },
// Note: the following two bindings also work with just HOME and END, add them here?
{ {
action: MessageComposerAction.MoveCursorToStart, action: MessageComposerAction.MoveCursorToStart,
keyCombo: { keyCombo: {
@ -165,6 +164,14 @@ const autocompleteBindings = (): KeyBinding<AutocompleteAction>[] => {
shiftKey: true, shiftKey: true,
}, },
}, },
{
action: AutocompleteAction.ApplySelection,
keyCombo: {
key: Key.TAB,
ctrlKey: true,
shiftKey: true,
},
},
{ {
action: AutocompleteAction.Cancel, action: AutocompleteAction.Cancel,
keyCombo: { keyCombo: {