Takuma Nakamura

Those who have no vision have no wings

SublimeText Settings

Install

I couldn’t find SublimeText in Ubuntu Software by searching. Google it and download the web-based installer (.deb). You may also need the downloaded file when removing sublime text.

Settings

type ‘subl’ in the terminal. It starts the application. Hit ctrl + ` and paste the below:

import urllib.request,os,hashlib; h = 'df21e130d211cfc94d9b0905775a7c0f' + '1e3d39e33b79698005270310898eea76'; 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://packagecontrol.io/' + 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)

The below package is also very useful:

sudo apt-get install git
cd /opt/sublime_text/Packages
Shift + Ctrl + P
keybindings
In the user section, paste this http://takumanakamura.net/English/keyBindings.txt

Plus,

Shit + Ctrl + P
PackageControl Install Package
Resource Viewer
Shit + Ctrl + P
PackageResourceViewer OpenResource
C++ -> C++ single file sublime – build
-> change g++ to g++ -std=c++11

AllAutoComplete https://packagecontrol.io/packages/All%20Autocomplete

ctrl+shift+p (Windows, Linux) or cmd+shift+p (OS X) to open the Command Pallete. Start typing ‘install’ to select ‘Package Control: Install Package’, then search for AllAutocomplete and select it. That’s it.

 

Install this C++ Completions: https://packagecontrol.io/packages/C%2B%2B%20Completions

Comments are closed.