]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - doc/shortcuts.md
Cleanup
[dotfiles.git] / doc / shortcuts.md
index 45febee3b5de5813838873cde4cdb9168be3af7d..698ae951c1a2c8d66f7ab2f8cb02b4349ebda68d 100644 (file)
@@ -4,24 +4,32 @@
 
 In VSCode, I have quick keys assigned to Alt+Shift+1 through Alt+Shift+6.
 
 
 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):
 
     1. Journal: New Journal Note
 Here's a helpful mapping in VSCode.
 
 Alt+Shift+(1 through 6):
 
     1. Journal: New Journal Note
-    2. Journal: Open Today
+    2. View: Toggle Zen Mode
     3. Search: Focus on Search View
     3. Search: Focus on Search View
-    4. Source Control: Focus on Source Control View
-    5. Remote Explorer: Foucs on Remotes
+    4. View: Toggle Terminal
+    5. View: Toggle Maximized Panel (Helpful for expanding terminal upward)
     6. View: Toggle Primary Side Bar Visibility
 
     6. View: Toggle Primary Side Bar Visibility
 
+    Alt+Home (Web Home) - Journal: Open Today
+    Alt+Right (Web Forward) - Journal: Open Tomorrow
+    Alt+Left (Web Back) - Journal: Open Yesterday
+
+> Tip: When reviewing shortcuts in VSCode, set the search to `User` to see your own.
+> Tip: There is an option to `Reset Keybinding` in the right-click menu.
+
 ## Shortcuts JavaScript
 
 I have a bit of JavaScript in the HTML file I use for my homepage. It causes the above buttons 1-6 to map to whatever I've set my 6 most visited sites to.
 
 ```html
 <!-- Script to jump to links on keypresses 1 through 6 -->
 ## Shortcuts JavaScript
 
 I have a bit of JavaScript in the HTML file I use for my homepage. It causes the above buttons 1-6 to map to whatever I've set my 6 most visited sites to.
 
 ```html
 <!-- Script to jump to links on keypresses 1 through 6 -->
-<script src="./jquery-3.7.0.min.js"></script>
 <script>
        watch_keys = ['1','2','3','4','5','6'];
        locations = [
 <script>
        watch_keys = ['1','2','3','4','5','6'];
        locations = [
@@ -32,13 +40,13 @@ I have a bit of JavaScript in the HTML file I use for my homepage. It causes the
                'link here...',
                'link here...',
        ];
                'link here...',
                'link here...',
        ];
-  $(document).on("keyup", function (e) {
+  document.onkeypress = function (e) {
     if(e.key in watch_keys)
     if(e.key in watch_keys)
-               window.location = locations[parseInt(e.key)-1]
+      window.location = locations[parseInt(e.key)-1]
     else {
       console.log(e);
     }
     else {
       console.log(e);
     }
-});
+  }
 </script>
 ```
 
 </script>
 ```