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):
```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 = [
'link here...',
'link here...',
];
- $(document).on("keyup", function (e) {
+ document.onkeypress = function (e) {
if(e.key in watch_keys)
- window.location = locations[parseInt(e.key)-1]
+ window.location = locations[parseInt(e.key)-1]
else {
console.log(e);
}
-});
+ }
</script>
```