Arbitrary set of personal notes that I find useful to have easily available.


Visual Studio Code / Codespaces

keybindings.json:

[
    { "key": "ctrl+o", "command": "workbench.action.terminal.focus"},
    { "key": "ctrl+o", "command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus" },
    { "key": "ctrl+enter", "command": "python.execInTerminal", "when": "resourceLangId == python" },
]

settings.json:

[
    "editor.parameterHints.enabled": false,
    "editor.lightbulb.enabled": false,
    "editor.autoClosingQuotes": "never",
    "editor.autoClosingOvertype": "never",
    "editor.autoClosingDelete": "never",
    "editor.autoClosingBrackets": "never",
    "editor.autoSurround": "never",
    "editor.hover.enabled": false,
    "editor.quickSuggestions": { "comments": "off", "strings": "off", "other": "off" },
    "editor.suggestOnTriggerCharacters": false,
]

Windows config

Rebind Caps Lock to RControl:

regedit:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,e0,3a,00,00,00,00,00

When Keyboard Layout is selected, select New Binary Value, create “Scancode Map”, and modify

Annoying bell sound from WSL / Ubuntu:

To get rid of annoying bell sound uncomment, set bell-style none in /etc/inputrc


Emacs

My .emacs file