From 74372604dfbb47952214a3ec9508d7236358d373 Mon Sep 17 00:00:00 2001 From: EdTheDev Date: Sun, 26 Nov 2023 22:07:27 -0600 Subject: [PATCH] Add keybindings as json --- doc/shortcuts.md | 2 ++ files/vscodium/keybindings.json | 53 +++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 files/vscodium/keybindings.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 -- 2.47.3