1. Edit the keybindings.json for some Shortcuts

# for Linux
vi /home/martin/.config/Code/User/keybindings.json
# for Windows
vi /c/Users/martin/AppData/Roaming/Code/User/keybindings.json
[
    { "key": "alt+w", "command": "editor.emmet.action.wrapWithAbbreviation" },
    { "key": "alt+down", "command": "editor.action.moveLinesDownAction", "when": "editorTextFocus&&!editorReadonly" },
    { "key": "alt+up", "command": "editor.action.moveLinesUpAction", "when": "editorTextFocus&&!editorReadonly" },
    { "key": "alt+l", "command": "editor.action.transformToLowercase" },
    { "key": "alt+u", "command": "editor.action.transformToUppercase" },
    { "key": "ctrl+b", "command": "workbench.action.navigateBack" },
    { "key": "ctrl+d", "command": "editor.action.copyLinesDownAction", "when": "editorTextFocus&&!editorReadonly" },
    { "key": "ctrl+j", "command": "editor.action.joinLines" },
    { "key": "ctrl+shift+d", "command": "editor.action.addSelectionToNextFindMatch", "when": "editorFocus" },
    { "key": "ctrl+shift+f", "command": "editor.action.formatDocument", "when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly" },
    { "key": "ctrl+shift+f", "command": "-workbench.action.findInFiles" },
    { "key": "ctrl+shift+f", "command": "-workbench.view.search", "when": "!searchViewletVisible" },
    { "key": "ctrl+shift+right", "command": "workbench.action.moveEditorToNextGroup" },
]

2. Edit the setting.json for some Formatting

# for Linux
vi /home/martin/.config/Code/User/settings.json
# for Windows
vi c/Users/martin/AppData/Roaming/Code/User/settings.json
{
    "workbench.startupEditor": "newUntitledFile",
    "window.zoomLevel": 0,
    "editor.fontFamily": "'monospace', monospace, 'Droid Sans Fallback'",
    "terminal.integrated.fontFamily": "'monospace'",
    "files.autoSave": "afterDelay",
    "git.enabled": false,
    "git.ignoreLegacyWarning": true,
    "breadcrumbs.symbolSortOrder": "position"
}

3. Install some Extensions

  • Bash Debug
  • C/C++
  • CMake
  • JavaScript Snippet Pack
  • Live Server
  • Markdown All in One
  • Markdown PDF
  • Markdown Shortcuts
  • Python
  • shell-format