Files
dotfiles/vscode/.config/Code/User/keybindings.json
2026-03-26 23:53:32 +02:00

38 lines
1.0 KiB
JSON

// VSCode keybindings
[
// navigate back/forward with Alt+Left/Right (like browser)
{
"key": "alt+left",
"command": "workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "ctrl+alt+-",
"command": "-workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "alt+right",
"command": "workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForward",
"when": "canNavigateForward"
},
// shift+enter in terminal sends a line continuation
{
"key": "shift+enter",
"command": "workbench.action.terminal.sendSequence",
"args": { "text": "\\\r\n" },
"when": "terminalFocus"
},
// disable default inlay hint escape binding
{
"key": "escape",
"command": "-inlayHints.stopReadingLineWithHint",
"when": "isReadingLineWithInlayHints"
}
]