From: EdTheDev Date: Mon, 27 Nov 2023 04:07:27 +0000 (-0600) Subject: Add keybindings as json X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/74372604dfbb47952214a3ec9508d7236358d373 Add keybindings as json --- diff --git a/doc/shortcuts.md b/doc/shortcuts.md index 3db2360..698ae95 100644 --- a/doc/shortcuts.md +++ b/doc/shortcuts.md @@ -4,6 +4,8 @@ In VSCode, I have quick keys assigned to Alt+Shift+1 through Alt+Shift+6. +See also `files/vscodium/keybindings.json` + Here's a helpful mapping in VSCode. Alt+Shift+(1 through 6): diff --git a/files/vscodium/keybindings.json b/files/vscodium/keybindings.json new file mode 100644 index 0000000..e0cf2dc --- /dev/null +++ b/files/vscodium/keybindings.json @@ -0,0 +1,53 @@ +// Place your key bindings in this file to override the defaults +[ + { + "key": "shift+alt+1", + "command": "journal.note" + }, + { + "key": "shift+alt+2", + "command": "journal.today" + }, + { + "key": "alt+right", + "command": "journal.tomorrow" + }, + { + "key": "alt+left", + "command": "journal.yesterday" + }, + { + "key": "shift+alt+5", + "command": "remoteTargets.focus" + }, + { + "key": "shift+alt+6", + "command": "vscode-journal-view-explorer.focus" + }, + { + "key": "shift+alt+3", + "command": "workbench.view.search.focus" + }, + { + "key": "shift+alt+6", + "command": "workbench.action.toggleSidebarVisibility" + }, + { + "key": "ctrl+b", + "command": "-workbench.action.toggleSidebarVisibility" + }, + { + "key": "shift+alt+4", + "command": "workbench.action.terminal.toggleTerminal", + "when": "terminal.active" + }, + { + "key": "ctrl+`", + "command": "-workbench.action.terminal.toggleTerminal", + "when": "terminal.active" + }, + { + "key": "shift+alt+5", + "command": "workbench.action.toggleMaximizedPanel" + } +] \ No newline at end of file