DotSublime is aimed to quick deploy sublime text 3(ST3) settings when newly installed ST3.
Step 1. Download and install ST3 in your way. (ubuntu for example)
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
Step 2. Fetch my default configure and custom yourself.
cd ~/.config
git clone https://github.com/quchunguang/dotsublime.git sublime-text-3
cd sublime-text-3 # and change what you like
Step 3. Install package control. (strongly recommend)
Run ST3, press ctrl+` to show console. then paste following code and return to run.
import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
Step 4. Install some useful packages via package control for ST3.
Run ST3, press ctrl+shift+p to show command window. input 'ip' (which means install package) and return. Following are my favorites,
- AutoPEP8 - If you love python, whatever a pythoneer or a pythonista, make your code pretty by ctrl-shift-8. God bless you if you are writing python code on Linux, but NOT on a macnix or something from m$. :)
- Clickable URLs - As its name.
- Generate Password - As its name.
- GenerateUUID - As its name.
- Pandown - Pandoc style markdown tool.
- SideBarEnhancements - As its name.
- GoSublime - If you write golang code (like me), it must have.
- HTML-JS-CSS Prettify - Make you html-js-css code pretty.
- Emmet - Zen coding. If you write html+css, you probably already knewn it.