Created
August 19, 2012 23:52
-
-
Save keeperofthenecklace/3398666 to your computer and use it in GitHub Desktop.
Textmate Shortcut
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apple shortcut | |
--------------- | |
alt + cmd + D - hide bar | |
cntl + alt + cmd + t - edit templete - contains all the shortcuts for the templates. | |
alt + cmd + right arrow - go to next file on tab | |
alt + cmd + down arrow - will open | |
ctrl + Shift + D - Duplicate line/selection - selected text is duplicated | |
cmd + ] - move block of code to right | |
cmd + [ - move block of code to left | |
alt + cmd + [ - Align assignment | |
cntl + L - writes out '=>' | |
cntl + 2 finger diagonal on mouse pad - magnifies screen | |
shift + cntl + v - validate syntax | |
shift + cntl + a - commit/checkout to GITX function | |
shift + cntl + b - Inserts a banner | |
shift + cntl + c - evaluate line | |
shift + cntl + d - duplicate a line/selection | |
shift + cntl + e - insert the word 'nil' to the line | |
shift + cntl + f - insert the word 'nil' to the line | |
shift + cntl + j - move code line below up and add to existing code. to cursor above | |
shift + cntl + k - move code line below up and delete existing code. to cursor above | |
shift + cntl + k - Displays number of Lines, words and bytes | |
shift + cntl + s - displays a search line to search inside code | |
shift + cntl + t - todo list | |
shift + cntl + u - lower case | |
cntl + alt + u - Title | |
cntl + alt + f - move cursor to next line | |
cntl + alt + g - convert block of words Title case | |
cntl + H - ruby documentation | |
cmd + shift + T - Go to symbol(method) in the file | |
cmd + shift + F - Find in a project | |
shift + cmd + D - Open Require Ruby | |
cmd + # - # is a number that will select tab. | |
screen expose select | |
--------------------- | |
cntl + # - select a different screen to wrk from | |
shift + cmd - screen capture a selection | |
RUBY | |
----------------------------- | |
cmd + R - Run | |
shit + cmd + R - Run Foucused Unit Test | |
cntl + shift + command + O - Omit a block of codes from git | |
shift + cmd + D - opens the 'Require' file in the doc. | |
shift + cntl + v - validate the syntax | |
shift + cntl + e - execute line/selection | |
shift + cntl + cmd + e - execute and update | |
View | |
--------- | |
cntl + > or (Shift + .) - adds <%...=%> | |
cntl + < - adds <p></p> | |
Controller | |
------------- | |
cntl + : or (shift + ;) - toggles symbols /string | |
alt + cmd + 0,1,2,3 - toggle folding in controller | |
alt + cmd + L - hide side number | |
alt + cntl + O - over write mode | |
cmd + / - comment block of codes | |
Select | |
------------- | |
cntl + w - select word | |
cmd + L - go to line | |
shift + cmd + t - go to symbol | |
cmd + t - go to file | |
shift + cmd + L - select line | |
shift + cmd + B - enclosing bracket | |
cntl + alt + b - current scope | |
Navigation | |
-------------------- | |
alt + cmd + lft arrw / rgt arw - move on tab - | |
Find | |
----------------- | |
cmd + f - find | |
cmd + shift + f - find in project | |
cmd + g - find next | |
Text | |
------------- | |
alt + cmd + [ -indent line | |
cmd + [ - move to left | |
cmd + ] - move to right | |
Declaration | |
--------------- | |
shift + return - New method | |
cntl + shift + R - run rake task | |
----- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment