Skip to content

Instantly share code, notes, and snippets.

@s-estay
Last active September 23, 2025 06:43
Show Gist options
  • Select an option

  • Save s-estay/81064b561368849ccfea87e16d649be0 to your computer and use it in GitHub Desktop.

Select an option

Save s-estay/81064b561368849ccfea87e16d649be0 to your computer and use it in GitHub Desktop.
[
// open terminal with cmd-t
{
"context": "Workspace",
"bindings": {
"cmd-t": "terminal_panel::ToggleFocus"
}
},
// close terminal with cmd-t
{
"context": "Workspace",
"bindings": {
"cmd-t": "workspace::ToggleBottomDock"
}
},
// in normal mode, jump to line's first character with shift+h
{
"context": "vim_mode == normal",
"bindings": {
"shift-h": [
"editor::MoveToBeginningOfLine",
{
"stop_at_soft_wraps": true,
"stop_at_indent": true
}
]
}
},
// in normal mode, jump to line's last character with shift+l
{
"context": "vim_mode == normal",
"bindings": {
"shift-l": [
"editor::MoveToEndOfLine",
{
"stop_at_soft_wraps": false
}
]
}
},
// in visual mode, extend a selection from any point in a line to the start of it
{
"context": "vim_mode == visual",
"bindings": {
"shift-l": [
"editor::SelectToEndOfLine",
{
"stop_at_soft_wraps": true
}
]
}
},
// in visual mode, extend a selection from any point in a line to the end of it
{
"context": "vim_mode == visual",
"bindings": {
"shift-h": [
"editor::SelectToBeginningOfLine",
{
"stop_at_soft_wraps": true,
"stop_at_indent": true
}
]
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment