Skip to content

Instantly share code, notes, and snippets.

@ethan-deng
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ethan-deng/c602b0332b8689f24a2e to your computer and use it in GitHub Desktop.
Save ethan-deng/c602b0332b8689f24a2e to your computer and use it in GitHub Desktop.
Set up Sublime 3
  1. Install Sublime 3 http://www.sublimetext.com/3
  2. Install Sublime Package Control https://packagecontrol.io/installation#st3

Ctrl + Shift + P

  1. Install SublimeCodeIntel http://sublimecodeintel.github.io/SublimeCodeIntel/
  2. Install Sublime React.js https://github.com/reactjs/sublime-react
  3. Install SublimeTmpl https://packagecontrol.io/packages/SublimeTmpl
  4. Install Sublime TortoiseSVN https://github.com/dexbol/sublime-TortoiseSVN

Sublime Code Snippes

Change Sublime Theme

Fix Keyboard

[
	{ "keys": ["enter"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
	  [
	      { "key": "following_text", "operator": "regex_contains", "operand": "^[)\\]'\"}]", "match_all": true },
	      { "key": "preceding_text", "operator": "regex_contains", "operand": "[(['\"{]", "match_all": true },
	      { "key": "auto_complete_visible", "operator": "equal", "operand": false }
	  ]
	},
	{ "keys": ["tab"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
	  [
	      { "key": "following_text", "operator": "regex_contains", "operand": "^[)\\]'\"}]", "match_all": true },
	      { "key": "preceding_text", "operator": "regex_contains", "operand": "[(['\"{]", "match_all": true },
	      { "key": "auto_complete_visible", "operator": "equal", "operand": false }
	  ]
	},
	{ "keys": ["f1"], "command": "reindent"}
]

Multiple selection: Ctrl+D, Ctrl+Shift+L

Jump to symbo: Ctrl+r

Jump to files: Ctrl+p

Mark current word: Ctrl+d

Split screen: Alt+Shift+2

Find in files: Ctrl+Shift+f

Auto indentation: Ctrl+]

Full Screen: Shift+F11

Bookmark: Ctrl+F2

Delete whole line: ctrl+shift+k

Select whole line: ctrl+l

https://gist.github.com/nuxlli/1207014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment