Skip to content

Instantly share code, notes, and snippets.

@oca159
Last active June 21, 2017 16:06
Show Gist options
  • Save oca159/b866a5106b663f7ab3da772130ae9912 to your computer and use it in GitHub Desktop.
Save oca159/b866a5106b663f7ab3da772130ae9912 to your computer and use it in GitHub Desktop.

Visual Studio Code

Plugins

  • Python
  • Unique Lines
  • Djaneiro -Django Snippets
  • Django Template
  • Sublime Text Keymap

Settings.json

{
    "python.linting.enabledWithoutWorkspace": false,
    "window.zoomLevel": 0,
    "editor.fontSize": 14,
    "files.autoSave": "onFocusChange",
    "python.pythonPath": "python3",
    "python.venvPath": "/Users/oaaburto/.virtualenvs",
    "explorer.openEditors.visible": 0,
    "workbench.welcome.enabled": false,
    "editor.fontFamily": "Fira Mono , Fira Mono , Fira Mono , Fira Mono",
    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "**/.idea": true,
        "**/__pycache__": true
    }
}

Keyboard shortcuts

// Place your key bindings in this file to overwrite the defaults
[
    {
        "key": "ctrl+shift+up",
        "command": "editor.action.insertCursorAbove",
        "when": "editorTextFocus"
    },
    {
        "key": "alt+cmd+up",
        "command": "-editor.action.insertCursorAbove",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+shift+down",
        "command": "editor.action.insertCursorBelow",
        "when": "editorTextFocus"
    },
    {
        "key": "alt+cmd+down",
        "command": "-editor.action.insertCursorBelow",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+alt+r",
        "command": "python.execInTerminal"
    }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment