You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
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.
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user