]> apps.delaporte.us Git - dotfiles.git/commitdiff
Add keybindings as json
authorEdTheDev <edward@delaporte.us>
Mon, 27 Nov 2023 04:07:27 +0000 (22:07 -0600)
committerEdTheDev <edward@delaporte.us>
Mon, 27 Nov 2023 04:07:27 +0000 (22:07 -0600)
doc/shortcuts.md
files/vscodium/keybindings.json [new file with mode: 0644]

index 3db236026dbd434a18983359a65affc9d4e5e2b0..698ae951c1a2c8d66f7ab2f8cb02b4349ebda68d 100644 (file)
@@ -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 (file)
index 0000000..e0cf2dc
--- /dev/null
@@ -0,0 +1,53 @@
+// Place your key bindings in this file to override the defaults\r
+[\r
+    {\r
+        "key": "shift+alt+1",\r
+        "command": "journal.note"\r
+    },\r
+    {\r
+        "key": "shift+alt+2",\r
+        "command": "journal.today"\r
+    },\r
+    {\r
+        "key": "alt+right",\r
+        "command": "journal.tomorrow"\r
+    },\r
+    {\r
+        "key": "alt+left",\r
+        "command": "journal.yesterday"\r
+    },\r
+    {\r
+        "key": "shift+alt+5",\r
+        "command": "remoteTargets.focus"\r
+    },\r
+    {\r
+        "key": "shift+alt+6",\r
+        "command": "vscode-journal-view-explorer.focus"\r
+    },\r
+    {\r
+        "key": "shift+alt+3",\r
+        "command": "workbench.view.search.focus"\r
+    },\r
+    {\r
+        "key": "shift+alt+6",\r
+        "command": "workbench.action.toggleSidebarVisibility"\r
+    },\r
+    {\r
+        "key": "ctrl+b",\r
+        "command": "-workbench.action.toggleSidebarVisibility"\r
+    },\r
+    {\r
+        "key": "shift+alt+4",\r
+        "command": "workbench.action.terminal.toggleTerminal",\r
+        "when": "terminal.active"\r
+    },\r
+    {\r
+        "key": "ctrl+`",\r
+        "command": "-workbench.action.terminal.toggleTerminal",\r
+        "when": "terminal.active"\r
+    },\r
+    {\r
+        "key": "shift+alt+5",\r
+        "command": "workbench.action.toggleMaximizedPanel"\r
+    }\r
+]
\ No newline at end of file