Sublime Text 2: Difference between revisions
From wikinotes
Line 15: | Line 15: | ||
<blockquote> | <blockquote> | ||
{| class="wikitable" | {| class="wikitable" | ||
| < | | <code>~/.config/sublime-text-2/Packages/User/Preferences.sublime-settings</code> || main config | ||
|- | |- | ||
| < | | <code>~/.config/sublime-text-2/Packages/Default (Linux).sublime-keymap</code> || key config | ||
|} | |} | ||
</blockquote><!-- Config Files --> | </blockquote><!-- Config Files --> |
Latest revision as of 01:12, 2 July 2022
Sublime Text 2 is a text editor, with a builtin package manager.
Default Hotkeys
ctrl + r: # list functions ctrl + shift + p: # ener command (install package, markdown preview, etc) alt + shift + num: # switch column views ctrl + shift + num: # move window to specific column ctrl + num: # select column
Config Files
~/.config/sublime-text-2/Packages/User/Preferences.sublime-settings
main config ~/.config/sublime-text-2/Packages/Default (Linux).sublime-keymap
key config
Packages/Extensions
Install Package Manager
## Push CTRL+~ to get the terminal ## Copy + Paste the following code import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print('Please restart Sublime Text to finish installation')Installing Packages
Here is an example of how to install a package
CTRL + SHIFT + P # Gives you a UI line Package Install # Package Installer Live Reload # Search for package to install ** Enter