Install Package Control for easy package management.
- Open the console with
Ctrl+` - Paste in the following:
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE KeyboardMappingScheme> | |
| <!-- Written by Qt Creator 4.2.1, 2017-03-27T21:24:06. --> | |
| <mapping> | |
| <shortcut id="CppTools.OpenHeaderSourceInNextSplit"> | |
| <key value="Ctrl+E, F4"/> | |
| </shortcut> | |
| <shortcut id="CppTools.SwitchHeaderSource"> | |
| <key value="F4"/> | |
| </shortcut> |
| ## | |
| # Creates an alias called "git hist" that outputs a nicely formatted git log. | |
| # Usage is just like "git log" | |
| # Examples: | |
| # git hist | |
| # git hist -5 | |
| # git hist <branch_name> | |
| # git hist <tag_name> -10 | |
| ## | |
| git config --global alias.hist "log --pretty=format:'%C(yellow)[%ad]%C(reset) %C(green)[%h]%C(reset) | %C(red)%s %C(bold red){{%an}}%C(reset) %C(blue)%d%C(reset)' --graph --date=short" |
Install Package Control for easy package management.
Ctrl+`
| # Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key | |
| # that enables you to choose a character from a menu of options. If you are on Lion | |
| # try it by pressing and holding down 'e' in any app that uses the default NSTextField | |
| # for input. | |
| # | |
| # It's a nice feature and continues the blending of Mac OS X and iOS features. However, | |
| # it's a nightmare to deal with in Sublime Text if you're running Vintage (Vim) mode, | |
| # as it means you cannot press and hold h/j/k/l to move through your file. You have | |
| # to repeatedly press the keys to navigate. |