[go: up one dir, main page]

100% found this document useful (12 votes)
7K views2 pages

Textmate

This TextMate cheat sheet provides concise summaries of keyboard shortcuts for general commands, source code editing, HTML, CSS, JavaScript, PHP, XML, and Apache commands in TextMate. The shortcuts are organized by category and include commands for navigation, selection, formatting, commenting code, validating code, and more.

Uploaded by

Matt Jaynes
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (12 votes)
7K views2 pages

Textmate

This TextMate cheat sheet provides concise summaries of keyboard shortcuts for general commands, source code editing, HTML, CSS, JavaScript, PHP, XML, and Apache commands in TextMate. The shortcuts are organized by category and include commands for navigation, selection, formatting, commenting code, validating code, and more.

Uploaded by

Matt Jaynes
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

TEXTMATE cheat sheet

shortcuts - macro's - snippets - commmands


GENERAL completion ⎋ shift left ⌥⇥ or ⌘[
new ⌘N find ⌘F shift right ⌥⇤ or ⌘]
new project ⌃⌘N find in projet ⇧⌘F indent line ⌥⌘[
open ⌘O find next ⌘G edit each line in selection ⌥⌘A
save ⌘S find previous ⇧⌘G reformat paragraph ⌃Q
save as ⇧⌘S replace all ⌃⌘F reformat and justify ⌃J
save all ⌥⌘S replace all in selection ⌃⇧⌘F unwrap paragraph ⌃⌥Q
save project ⌃⌘S replace & find ⌥⌘F execute line inserting result ⌃R
save project as ⌃⇧⌘S use selection for find ⌘E filter through command ⌥⌘R
reveal in project ⌃⌘R use selection for replace ⇧⌘E add / remove bookmark ⌘F2
print ⌘P jump to selection ⌘J go to next / previous bookmark F2 and ⇧F2
help ⌘? spelling ⌘: navigate tabs ⌥⌘← and ⌥⌘→
undo ⌘Z check spelling ⌘; go to header / source ⌥⌘↑
redo ⇧⌘Z check spelling as you type ⌥⌘; go to file ⌘T
cut ⌘X special characters ⌥⌘T go to symbol ⇧⌘T
copy ⌘C bigger / smaller font ⌘+ and ⌘- scroll line up / down ⌃⌥⌘↑ and ⌃⌥⌘↓
paste ⌘V show / hide bookmarks ⌥⌘B scroll column left / right ⌃⌥⌘← and ⌃⌥⌘→
paste without re-indent ⌃⌘V show / hide line numbers ⌥⌘L go to line ⌘L
paste previous ⇧⌘V show / hide project drawer ⌃⌥⌘D go to middle visible line ⇧⌘J
paste from clipboard history ⌃⌥⌘V soft wrap ⌥⌘W sort lines F5
duplicate line / selection ⌃⇧D show / hide invisibles ⌥⌘I statistics for document / selection ⌃⇧N
freehand editing ⌥⌘E fold current block F1 select bundle item ⌃⌘T
overwrite mode ⌥⌘O convert to uppercase ⌃U open bundle menu ⌃⎋
select word ⌃W convert to lowercase ⌃⇧U show web preview ⌃⌥⌘P
select line ⇧⌘L convert to titlecase ⌃⌥U tab triggers ⇥
select enclosing brackets ⇧⌘B lorem, isoD, c)
convert to opposite case ⌃G
other commands
select current scope ⌃⌥B move line up / down ⌃⌘↑ and ⌃⌘↓
new from template, re-open with encoding,
select all ⌘A move column left / right ⌃⌘← and ⌃⌘→ spaces 2 tabs, terminal usage
TEXTMATE cheat sheet shortcuts - macro's - snippets - commmands
SOURCE HTML JAVASCRIPT
comment line / selection ⌘/ documentation ⌃H documentation ⌃H

lookup definition (ctags) ⌃] validate ⌃⇧V tab triggers ⇥


function, prototype
toggle single / double string quotes ⌃" tidy ⌃⇧H

escaped double quotes: \"…\" ⌘" refresh browser ⌘R

escaped single quotes: \'…\' ⌥⌘" convert to entities / URL escapes ⌘&
CSS
insert comment banner ⌃⇧B insert open / close tag ⌃< documentation ⌃H
continue line comment ⌅ insert close tag ⌥⌘. validate ⌃⇧V
move to EOL and insert LF ⌘↩ wrap selection in open / close tag ⌃⇧W preview ⌃⌥⌘P
move to EOL and insert “;” ⌥⌘↩ wrap each selected line in tag ⌃⇧⌘W
tab triggers ⇥
move to EOL and insert “;” + LF ⇧⌘↩ wrap selection as link ⌃⇧L background, border, clear, color, cursor, direction,
display, font, float, letter, list, margin, marker,
newline: \n ⌃↩ non breaking space ⌥☐
opacity, overflow, padding, position, text, vertical,
convert spaces to tabs ⌃⇧⌘T br ⌃↩ visibility, white, word, z, {

convert source to HTML ⌃⇧H strong ⌘B other commands


insert color
view source as HTML ⌃⌥⌘P emphasize ⌘I

tab triggers ⇥ tab triggers ⇥


head doctype, movie, input, textarea, mailto, base,
body, div, form, h1, head, link, meta, scriptsrc, PHP
other commands
script, style, table, title documentation ⌃H
view source as PDF
other commands validate ⌃⇧V
open document in browser, strip html tags
continue block comment ⌅

run ⇧⌘R
APACHE
tab triggers php ⇥
search on apache.org ⌃H
XML $_, -globals, php, class, def, def?, do, else, elseif,
tab triggers ⇥ for, foreach, function, if, ifelse, if?, incl, incl1, array,
validate ⌃⇧V
allow, opt, vhost print, req, req1, retres, retret, ret0, ret1, case,
other commands tidy ⌃⇧H switch, while
start, stop, restart, graceful, open httpd.conf, open tab triggers ⇥ tab triggers phpdoc
config for user, tail acces log, tail errro log xml, <a, <, > doc_c, doc_cp, doc_d, doc_dp, doc_f, doc_fp,
doc_h, doc_i, doc_s, doc_v, doc_vp

You might also like