Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quchunguang/dotsublime
https://github.com/quchunguang/dotsublime
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/quchunguang/dotsublime
- Owner: quchunguang
- License: mit
- Created: 2014-09-17T00:58:25.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-02T11:53:38.000Z (about 10 years ago)
- Last Synced: 2024-08-08T00:44:15.450Z (4 months ago)
- Language: Python
- Size: 168 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- project-awesome - quchunguang/dotsublime - (Python)
README
DotSublime
==========DotSublime is aimed to quick deploy sublime text 3(ST3) settings when newly installed ST3.
Installation
------------Step 1. Download and install ST3 in your way. (ubuntu for example)
```sh
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.
```sh
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.
```python
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.