Many movement commands into one command.
seq.home
:cursorHome
->cursorHome
->cursorTop
->return
seq.end
:cursorEnd
->cursorBottom
->return
No keymap by default.
[
{
"key": "home",
"command": "seq.home",
"args": ["cursorHome", "cursorTop"],
"when": "editorTextFocus"
},
{
"key": "end",
"command": "seq.end",
"args": ["cursorEnd", "cursorBottom"],
"when": "editorTextFocus"
}
]
[
{
"key": "ctrl+a",
"command": "-emacs-mcx.moveBeginningOfLine",
"when": "editorTextFocus"
},
{
"key": "ctrl+a",
"command": "seq.home",
"args": ["cursorHome", "cursorTop"],
"when": "editorTextFocus"
},
{
"key": "ctrl+a",
"command": "seq.home",
"args": ["cursorHomeSelect", "cursorTopSelect"],
"when": "editorTextFocus && emacs-mcx.inMarkMode"
},
{
"key": "ctrl+e",
"command": "-emacs-mcx.moveEndOfLine",
"when": "editorTextFocus"
},
{
"key": "ctrl+e",
"command": "seq.end",
"args": ["cursorEnd", "cursorBottom"],
"when": "editorTextFocus"
},
{
"key": "ctrl+e",
"command": "seq.end",
"args": ["cursorEndSelect", "cursorBottomSelect"],
"when": "editorTextFocus && emacs-mcx.inMarkMode"
}
]