Textmate Keyboard Shortcuts

 

Navigation
Optn+Cmd+ left arrowPrevious file tab
Optn+Cmd+Right arrowNext file tab
Cmd+TGo to file
Cmd+LGo to line
Cmd+F2Add bookmark
F2Next bookmark
Shft+F2Previous bookmark
 
View
Optn+Cmd+LShow line numbers
Optn+Cmd+BShow bookmarks
Optn+Cmd+IShow invisibles
F1Fold current block
Ctrl+Optn+Cmd+DShow project drawer
Ctrl+Optn+Cmd+PShow web preview
 
Edit
Cmd+ZUndo
Shft+Cmd+ZRedo
Ctrl+Optn+Cmd+VClipboard history
Ctrl+Cmd+VPaste without indentation
Optn+Cmd+EFreehand editing mode
Optn+Cmd+OOverwrite mode
Ctrl+WSelect word
Shft+Cmd+LSelect line
 
Find Commands
Cmd+FFind and replace window
Cmd+ECopies selection to the shared find clipboard
Cmd+GFind next occurrence (also in other Cocoa apps)
Shft+Cmd+ECopies selection to the replace clipboard
Click Arrow on Rightfor a multi line text input
OptnHold down Opn while pressing tab (Tab) or return Enter to literally insert them in the input field
Shft+Cmd+FFind in project window
Optn+Cmd+TSpecial characters palette
 
Working with Text
Cmd+ReturnMove to the end of line and insert a newline
Shft+Cmd+ReturnMove to the end of line, insert a ; and then insert a newline
EscWill complete the current word based on matches in the current document.
Press ESC continuously will cycle through multiple matches
Ctrl+UConvert to uppercase
Ctrl+Shft+ UConvert to lowercase
Ctrl+Optn+UConvert to title case
Optn+Cmd+[Indent line
Optn+TabIncrease indent level
Optn+Shft+TabDecrease indent level
Optn+Cmd+AEdit each line in selection
Hold down Optnto select a column
Ctrl+Shft+KDelete current line
Ctrl+Shft+NDocument statistics
Ctrl+Shft+DDuplicate current line
F5Sort lines in document / selection alphabetically
isoD+TabInsert current date
c)+TabInsert copyright notice
lorem+TabInserts lorem ipsum paragraph
 
Working with Bundles
Cmd+BBuild current source/project (compile)
Cmd+RRun the current source
Ctrl+HLookup current word in documentation
Ctrl+Shft+VRun syntax checker
Ctrl+Shft+WWrap selection with a logical wrapper (e.g.

. You can then overtype p and add arguments)
Ctrl+Shft+HConvert the document into something which make sense
EnterContinue the current construct on the next line
Optn+Cmd+.Insert close element
Cmd+/Toggle comment characters around current selection
 
HTML
Ctrl+<Change the word just typed into open/close tag
Ctrl+Shft+LWrap selection as link

 

comments powered by Disqus