Last active
May 10, 2020 08:27
-
-
Save inad9300/cbfe2c9571c4a7698da1db3cbd67e059 to your computer and use it in GitHub Desktop.
Settings for Visual Studio Code, Sublime Text and rxi's lite.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requirements: | |
# sudo apt install libsdl2-dev | |
export LITE_SCALE=1.8 | |
alias lite=~/Programs/lite/lite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"font_size": 14, | |
"draw_indent_guides": false | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
system.set_window_mode("maximized") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "ctrl+tab", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "workbench.debug.panel.action.clearReplAction", | |
"when": "inDebugRepl" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local syntax = require "core.syntax" | |
syntax.add { | |
files = { "%.ts$" }, | |
comment = "//", | |
patterns = { | |
{ pattern = "//.-\n", type = "comment" }, | |
{ pattern = { "/%*", "%*/" }, type = "comment" }, | |
{ pattern = { '"', '"', '\\' }, type = "string" }, | |
{ pattern = { "'", "'", '\\' }, type = "string" }, | |
{ pattern = { "`", "`", '\\' }, type = "string" }, | |
{ pattern = "0x[%da-fA-F]+", type = "number" }, | |
{ pattern = "-?%d+[%d%.eE]*", type = "number" }, | |
{ pattern = "-?%.?%d+", type = "number" }, | |
{ pattern = "[%+%-=/%*%^%%<>!~|&]", type = "operator" }, | |
{ pattern = "[%a_][%w_]*%f[(]", type = "function" }, | |
{ pattern = "[%a_][%w_]*", type = "symbol" }, | |
}, | |
symbols = { | |
["any"] = "keyword", | |
["as"] = "keyword", | |
["boolean"] = "keyword", | |
["break"] = "keyword", | |
["case"] = "keyword", | |
["catch"] = "keyword", | |
["class"] = "keyword", | |
["const"] = "keyword", | |
["constructor"] = "keyword", | |
["continue"] = "keyword", | |
["debugger"] = "keyword", | |
["declare"] = "keyword", | |
["default"] = "keyword", | |
["delete"] = "keyword", | |
["do"] = "keyword", | |
["else"] = "keyword", | |
["enum"] = "keyword", | |
["export"] = "keyword", | |
["extends"] = "keyword", | |
["false"] = "literal", | |
["finally"] = "keyword", | |
["for"] = "keyword", | |
["from"] = "keyword", | |
["function"] = "keyword", | |
["get"] = "keyword", | |
["if"] = "keyword", | |
["implements"] = "keyword", | |
["import"] = "keyword", | |
["in"] = "keyword", | |
["instanceof"] = "keyword", | |
["interface"] = "keyword", | |
["let"] = "keyword", | |
["module"] = "keyword", | |
["new"] = "keyword", | |
["null"] = "literal", | |
["number"] = "keyword", | |
["of"] = "keyword", | |
["package"] = "keyword", | |
["private"] = "keyword", | |
["protected"] = "keyword", | |
["public"] = "keyword", | |
["require"] = "keyword", | |
["return"] = "keyword", | |
["set"] = "keyword", | |
["static"] = "keyword", | |
["string"] = "keyword", | |
["super"] = "keyword", | |
["switch"] = "keyword", | |
["symbol"] = "keyword", | |
["this"] = "keyword2", | |
["throw"] = "keyword", | |
["true"] = "literal", | |
["try"] = "keyword", | |
["type"] = "keyword", | |
["typeof"] = "keyword", | |
["undefined"] = "literal", | |
["var"] = "keyword", | |
["void"] = "keyword", | |
["while"] = "keyword", | |
["with"] = "keyword", | |
["yield"] = "keyword", | |
}, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// "color_scheme": "Packages/Color Scheme - Default/Mariana.sublime-color-scheme", | |
// "theme": "Default.sublime-theme", | |
// "font_size": 11, | |
// "font_face": "Fira Code", | |
"ensure_newline_at_eof_on_save": true, | |
"save_on_focus_lost": true, | |
"translate_tabs_to_spaces": true, | |
"trim_trailing_white_space_on_save": true, | |
"line_numbers": false | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// "debug.console.fontSize": 13, | |
"editor.cursorBlinking": "solid", | |
"editor.find.addExtraSpaceOnTop": false, | |
// "editor.fontFamily": "Hack, 'Fira Code', Inconsolata, Consolas, 'Courier New', monospace", | |
// "editor.fontLigatures": true, | |
// "editor.fontSize": 13, | |
"editor.hideCursorInOverviewRuler": true, | |
"editor.lineNumbers": "off", | |
"editor.renderIndentGuides": false, | |
"editor.renderLineHighlight": "none", | |
"editor.rulers": [], | |
// "editor.suggestSelection": "first", | |
"explorer.autoReveal": false, | |
"explorer.openEditors.visible": 0, | |
"files.autoSave": "afterDelay", | |
"files.autoSaveDelay": 512, | |
"files.insertFinalNewline": true, | |
"files.trimFinalNewlines": true, | |
"files.trimTrailingWhitespace": true, | |
// "java.configuration.checkProjectSettingsExclusions": false, | |
// "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false, | |
// "javascript.preferences.quoteStyle": "single", | |
"telemetry.enableCrashReporter": false, | |
"telemetry.enableTelemetry": false, | |
"terminal.integrated.cursorStyle": "line", | |
// "terminal.integrated.fontSize": 13, | |
// "terminal.integrated.rendererType": "dom", | |
// "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false, | |
// "typescript.preferences.quoteStyle": "single", | |
// "typescript.updateImportsOnFileMove.enabled": "always", | |
// "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
"window.menuBarVisibility": "toggle", | |
"window.titleBarStyle": "custom", | |
"window.zoomLevel": 0, | |
"workbench.startupEditor": "none", | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Print to console (1)": { | |
"prefix": "log", | |
"body": [ | |
"console.debug('$1')" | |
], | |
"description": "Log output to console" | |
}, | |
"Print to console (2)": { | |
"prefix": "llog", | |
"body": [ | |
"console.debug('$1', $1)" | |
], | |
"description": "Log output to console" | |
}, | |
"Print to console (3)": { | |
"prefix": "lllog", | |
"body": [ | |
"console.debug('$1', JSON.parse(JSON.stringify($1)))" | |
], | |
"description": "Log output to console" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment