Skip to content

Instantly share code, notes, and snippets.

@cranst0n
Last active May 18, 2017 12:12
Show Gist options
  • Save cranst0n/4224e11d65c24e114423214b87a375f6 to your computer and use it in GitHub Desktop.
Save cranst0n/4224e11d65c24e114423214b87a375f6 to your computer and use it in GitHub Desktop.
// Installed Extensions:
// - Scala Syntax (Dalton Jorge)
// - Git History (Don Jayamanne)
// - File Utils (Steffen Leistner)
// - Material Theme (Mattia Astorino)
// - Subword Navigation (Steffen Leistner)
//////////////////// settings.json ////////////////////
// Place your settings in this file to overwrite the default settings
{
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.fontSize": 18,
"editor.lineHeight": 24,
"editor.minimap.enabled": false,
"editor.rulers": [ 80, 100 ],
"editor.tabSize": 2,
"editor.matchBrackets": true,
"window.menuBarVisibility": "hidden",
"workbench.colorTheme": "Material Theme Palenight",
"workbench.iconTheme": "material-theme-icons"
}
//////////////////// keybindings.json ////////////////////
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+j",
"command": "editor.action.joinLines"
},
{
"key": "ctrl+`",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
{
"key": "alt+left",
"command": "subwordNavigation.cursorSubwordLeft",
"when": "editorTextFocus"
},
{
"key": "alt+right",
"command": "subwordNavigation.cursorSubwordRight",
"when": "editorTextFocus"
},
{
"key": "alt+shift+left",
"command": "subwordNavigation.cursorSubwordLeftSelect",
"when": "editorTextFocus"
},
{
"key": "alt+shift+right",
"command": "subwordNavigation.cursorSubwordRightSelect",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+right",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+left",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+l",
"command": "editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus "
}
]
//////////////////// Misc. ////////////////////
1. Ubuntu I had do disable keyboard shortcut to get line duplication to work:
#> gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-up []
#> gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-down []
#> gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-up []
#> gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-down []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment