sudo su
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | apt-key add -
apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list
apt-get update
apt-get install sublime-text
Settings:
{
"font_face": "JetBrains Mono",
"font_size": 11,
// "block_caret": true,
// "ignored_packages": [],
// "vintage_start_in_command_mode": true,
"theme": "auto",
"auto_complete_selector": true,
"show_encoding": true,
"translate_tabs_to_spaces": true,
"word_wrap": false
}
Keybindings:
[
{
"keys": ["j", "j"],
"command": "exit_insert_mode",
"context":
[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]
}
]
Snippet:
<snippet>
<content><![CDATA[console.log('${1}');]]></content>
<tabTrigger>log</tabTrigger>
<scope>source.js</scope>
<description>Console Log Snippet</description>
</snippet>
<snippet>
<content><![CDATA[System.out.println("${1}");]]></content>
<tabTrigger>syso</tabTrigger>
<scope>source.java</scope>
<description>System.out.println() Snippet</description>
</snippet>
Build System:
{
"selector": "source.js",
"cmd": ["deno", "run", "--allow-all", "$file"],
"shell": true,
"env": { "NO_COLOR": "" }
}
{
"selector": "source.java",
"cmd": ["javac", "*.java"],
"shell": true,
"variants": [
{
"name": "Build",
"cmd": ["javac", "*.java"],
},
{
"name": "Build and Run",
"cmd": ["javac", "*.java", "&&", "java", "$file_base_name"],
}
]
}
{
"selector": "text.sass",
"cmd": ["sass", "$file", "../css/$file_base_name.css", "--no-source-map"],
"shell": true,
"variants": [
{
"name": "Minified",
"cmd": ["sass", "$file", "../css/$file_base_name.css", "--no-source-map", "--style", "compressed"]
},
{
"name": "Static Minified",
"cmd": ["sass", "style.sass", "../css/style.css", "--no-source-map", "--style", "compressed"]
}
]
}