Skip to content

Latest commit

 

History

History
76 lines (61 loc) · 1.22 KB

textmate.md

File metadata and controls

76 lines (61 loc) · 1.22 KB

Textmate Cheatsheet

General

Command Function
⌘t Quick open
⌘r Run file
⌃⌘r Show file in file browser
⌃⌘n New file in folder
^⌘t Search for command

Search and replace

Command Function
⇧⌘f Find in project
⌘f Find
^s Incremental search
⌘e Use selection as find

Editing

Command Function
F5 Sort lines
⌃⇧d Duplicate line
⌃⇧k Delete line
⌃⇧j Join with next line
⌃⌘ (↑↓) Move line
⌘] Indent
⌘[ Dedent
Autocomplete
⌥ mouse Rectangular selection
trigger Expand tab trigger

Git (& other SCMs)

Command Function
⌘y SCM menu1
⌘y 1 Show changes
⌘y 2 Commit files
⌘y 4 Push
⌘y 8 Add to index
⌘y 9 Show status

Bookmarks

Command Function
⌘-F2 Place bookmark
F2 Navigate bookmarks

Macros

Command Function
⌥⌘m Start/stop recording macro
⇧⌘m Playback macro
^⌘m Start/stop recording permanent macro

Key

Symbol Key
Shift
Ctrl
Command
Alt (aka Option)
Escape
Return
Tab
↓←↑→ Arrow keys

Footnotes

  1. Requires bundle installed