TextMate keyboard shortcuts

TextMate

Zeynel Abidin Öztürk -
57 days ago
- Shortcuts
⌘ Cmd + N

New

Control + ⌘ Cmd + N

New project

⌘ Cmd + O

Open

⌘ Cmd + S

Save

↑   Shift + ⌘ Cmd + S

Save as

⌥ Option + ⌘ Cmd + S

Save all

Control + ⌘ Cmd + S

Save project

Control + ↑   Shift + ⌘ Cmd + S

Save project as

Control + ⌘ Cmd + R

Reveal in project

⌘ Cmd + P

Print

⌘ Cmd + ?

Help

⌘ Cmd + Z

Undo

↑   Shift + ⌘ Cmd + Z

Redo

⌘ Cmd + X

Cut

⌘ Cmd + C

Copy

⌘ Cmd + V

Paste

Control + ⌘ Cmd + V

Paste without re-indenting

↑   Shift + ⌘ Cmd + V

Paste previous

Control + ⌥ Option + ⌘ Cmd + V

Paste from the clipboard history

⌘ Cmd + ↑   Shift + D

Duplicate line / selection

⌥ Option + ⌘ Cmd + E

Freehand editing

⌥ Option + ⌘ Cmd + O

Overwrite mode

Control + W

Select word

↑   Shift + ⌘ Cmd + L

Select line

↑   Shift + ⌘ Cmd + B

Select enclosing brackets

Control + ⌥ Option + B

Select current scope

⌘ Cmd + A

Select all

Esc

Completion

⌘ Cmd + F

Find

↑   Shift + ⌘ Cmd + F

Find in project

⌘ Cmd + G

Find next

↑   Shift + ⌘ Cmd + G

Find previous

Control + ⌘ Cmd + F

Replace all

Control + ↑   Shift + ⌘ Cmd + F

Replace all in selection

⌥ Option + ⌘ Cmd + F

Replace & find

⌘ Cmd + E

Use selection for find

↑   Shift + ⌘ Cmd + E

Use selection for replace

⌘ Cmd + J

Jump to selection

⌘ Cmd + :

Spelling

⌘ Cmd + ;

Check spelling

⌥ Option + ⌘ Cmd + ;

Check spelling as you type

⌥ Option + ⌘ Cmd + T

Special characters

⌘ Cmd + +

Bigger font

⌘ Cmd + -

Smaller font

⌥ Option + ⌘ Cmd + B

Show / hide bookmarks

⌥ Option + ⌘ Cmd + L

Show / hide line numbers

Control + ⌥ Option + ⌘ Cmd + D

Show / hide project drawer

⌥ Option + ⌘ Cmd + W

Soft wrap

⌥ Option + ⌘ Cmd + I

Show / hide invisibles

F1

Fold current block

Control + U

Convert to uppercase

Control + ↑   Shift + U

Convert to lowercase

Control + ⌥ Option + U

Convert to title case

Control + G

Convert to opposite case

Control + ⌘ Cmd + ↑  ↓

Move line up / down

Control + ⌘ Cmd + ←  →

Move column left / right

⌥ Option + ⭾ Tab

Shift left

or ⌘ Cmd + [
⌥ Option + Back⭾ Tab

Shift right

or ⌘ Cmd + ]
⌥ Option + ⌘ Cmd + [

Indent line

⌥ Option + ⌘ Cmd + A

Edit each line in selection

Control + Q

Reformat paragraph

Control + J

Reformat and justify

Control + ⌥ Option + Q

Unwrap paragraph

Control + R

Execute line inserting result

⌥ Option + ⌘ Cmd + R

Filter through command

⌘ Cmd + F2

Add / remove bookmark

F2

Go to next bookmark

↑   Shift + F2

Go to previous bookmark

⌥ Option + ⌘ Cmd + ←  →

Navigate tabs

⌥ Option + ⌘ Cmd +

Go to header / source

⌘ Cmd + T

Go to file

↑   Shift + ⌘ Cmd + T

Go to symbol

Control + ⌥ Option + ⌘ Cmd + ↑  ↓

Scroll line up / down

Control + ⌥ Option + ⌘ Cmd + ←  →

Scroll column left / right

⌘ Cmd + L

Go to line

↑   Shift + ⌘ Cmd + J

Go to middle visible line

F5

Sort lines

Control + ↑   Shift + N

Statistics for document / selection

Control + ⌘ Cmd + T

Select bundle item

Control + Esc

Open bundle menu

Control + ⌥ Option + ⌘ Cmd + P

Show web preview

⌘ Cmd + /

Comment line / selection

Control + ]

Lookup definition (ctags)

Control + "

Toggle single / double string quotes

⌘ Cmd + "

Escaped double quotes: \"…\"

⌥ Option + ⌘ Cmd + "

Escaped single quotes: \'…\'

Control + ↑   Shift + B

Insert comment banner

⤶ Enter

Continue line comment

⌘ Cmd + ⤶ Enter

Move to end of line and insert LF (line feed)

⌥ Option + ⌘ Cmd + ⤶ Enter

Move to end of line and insert ;

↑   Shift + ⌘ Cmd + ⤶ Enter Move to End of line and Insert ; + LF

(line feed)

⌘ Cmd + ⤶ Enter

Newline: \n

Control + ↑   Shift + ⌘ Cmd + T

Convert spaces to tabs

Control + ↑   Shift + H

Convert source to HTML

Control + ⌥ Option + ⌘ Cmd + P

View source as HTML

Ctrl + H

Search on apache.org

Control + H

Documentation

Control + ↑   Shift + V

Validate

Control + ↑   Shift + H

Tidy

⌘ Cmd + R

Refresh browser

⌘ Cmd + &

Convert to entities / URL escapes

Control + <

Insert open / close tag

⌥ Option + ⌘ Cmd + .

Insert close tag

Control + ↑   Shift + W

Wrap selection in open / close tag

Control + ↑   Shift + ⌘ Cmd + W

Wrap each selected line in tag

Control + ↑   Shift + L

Wrap selection as link

⌥ Option + Space

Non breaking space

Control + ⤶ Enter

br

⌘ Cmd + B

Strong

⌘ Cmd + I

Emphasize

Control + H

Documentation

Control + H

Documentation

Control + ↑   Shift + V

Validate

⤶ Enter

Continue block comment

↑   Shift + ⌘ Cmd + R

Run


Share this page on:

Table of contents


Program information

Program name: TextMate (Text editing)

TextMate is a text editor for macOS. It has features such has tabs, macro recording, foldable sections. TextMate is created by Allan Odgaard and first released in October 2004.

Web page: https://macromates.com

Shortcut count: 120

Similar programs


  1. Fortnite (PC)Fortnite (PC)
    24135    2
  2. PlayerUnknown's BattlegPlayerUnknown's Battleg
    18261    3
  3. SketchUpSketchUp
    16915   
  4. Keyboard symbolsKeyboard symbols
    16624    1
  5. The Sims 4The Sims 4
    13244    2
  6. DiscordDiscord
    12811   
More keyboard shortcuts...

Latest articles

Advertisement

  Subscribe to our mailing list!

Useful technology tips and keyboard shortcuts will appear in your inbox.

Your email is kept private and we don't spam.

What is your favorite TextMate hotkey? Do you have any useful tips for program? Let other users know below.