summaryrefslogtreecommitdiffstats
path: root/KeyBindings.md
diff options
context:
space:
mode:
Diffstat (limited to 'KeyBindings.md')
-rw-r--r--KeyBindings.md196
1 files changed, 103 insertions, 93 deletions
diff --git a/KeyBindings.md b/KeyBindings.md
index 142364e..359d437 100644
--- a/KeyBindings.md
+++ b/KeyBindings.md
@@ -14,96 +14,106 @@ DefaultKeyBindings.dict file for Mac OS X, created by [Brett Terpstra][] and bas
*Grouped items begin with the groups shortcut, followed by the Keys specified. Items separated by commas are sequential, not concurrent.*
-| Group | Keys | Function |
-| :-------: | :---------------------: | :------------------------------------------------------ |
-| | ⌥z | copy character before cursor |
-| | ⌥r | repeat character before cursor |
-| | ⌥t | transpose characters |
-| | ⌥+ | uppercase word |
-| | ⌥- | lowercase word |
-| | ⌥. | capitalize word |
-| | ^w | delete word before cursor |
-| | ⌥w | select word |
-| | ⌥f | cut word (fold) |
-| | ⌥g | copy word (grab) |
-| | ⌥h | paste word (hit) |
-| | ⌥l | select entire line/paragraph |
-| | ⌥s | select from beginning of paragrah to last character |
-| | ⌥d | delete line/paragraph |
-| | ⌥y | copy paragraph |
-| | ⌥x | cut paragraph |
-| | ⌥p | paste paragraph below |
-| | ⌥⇧P | paste paragraph above |
-| | ^⇧A | select to beginning of paragraph and copy |
-| | ^⇧E | select to end of paragraph and copy |
-| | ⌥q | cut to beginning of paragraph |
-| | ⌥k | cut to end of paragraph |
-| | ⌥, | move paragraph up a line, inserting blank space after |
-| | ⌥␠ | move paragraph to end of document |
-| | ⌥o | blank line after current |
-| | ⌥⇧O | blank line before current |
-| | ⌘⌥/ | comment with "//" |
-| | ⌘⌥3 | comment with "#" |
-[ All purpose key combos ]
-
-
-| Group | Keys | Function |
-| :---: | :--: | :------- |
-| | ⌘⌥b | bold selection |
-| | ⌘⌥i | italicize selection |
-|^⌘w | ⏎ | force Return |
-|^⌘w | ⇥ | force Tab |
-|^⌘w | 1-4 | # Headlines |
-|^⌘w | l,t | link text `"[selected text]( | )"` |
-|^⌘w | l,c | clipboard link `"[ | selected text](clipboard contents)"` |
-|^⌘w | i,t | image, selection as alt `"![selected text]( | )"` |
-|^⌘w | i,c | clipboard image `"![ | selected text](clipboard contents)"` |
-|^⌘w | :,t | create a reference from selected text |
-|^⌘w | :,c | create a reference from selected text, clipboard as url |
-|^⌘w | [ | insert reference link |
-|^⌘w | +\|-\|* | lists |
-|^⌘w | =,⌥⇧L | new list item after current |
-|^⌘w | e | entity |
-|^⌘w | =,/ | http:// |
-[ Markdown-specific shortcuts (^⌘W) ]
-
-
-| Group | Keys | Function |
-| :---: | :--: | :------- |
-|^⌘s | ( | wrap () with spaces |
-|^⌘s | ) | wrap () no spaces |
-|^⌘s | \[ | wrap [] with spaces |
-|^⌘s | \] | wrap [] no spaces |
-|^⌘s | { | wrap {} with spaces |
-|^⌘s | } | wrap {} no spaces |
-|^&#x2318;s | < | wrap <> with spaces |
-|^&#x2318;s | > | wrap <> no spaces |
-|^&#x2318;s | ' | wrap single quotes |
-|^&#x2318;s | ` | wrap backticks |
-|^&#x2318;s | " | wrap double quote |
-[ Surround (^&#x2318;s) ]
-
-
-| Group | Keys | Function |
-| :---: | :--: | :------- |
-| | ^&#x2318;k | move line up |
-| | ^&#x2318;j | move line down |
-| | ^&#x2318;l | indent line |
-| | ^&#x2318;h | outdent line (all the way) |
-| | ^&#x2325;k | copy line and paste above |
-| | ^&#x2325;j | copy line and paste below |
-| | &#x2318;&#x2325;&#xA71B;| modify selection up |
-| | &#x2318;&#x2325;&#xA71C;| modify selection down |
-| | &#x2318;&#x2421; | Forward delete to end of paragraph |
-[ List/Paragraph motion ]
-
-
-| Group | Keys | Function |
-| :---: | :-----------: | :--------------- |
-| | PgUp | Page Up |
-| | PgDown | Page Down |
-| | &#x2325;PgUp | Scroll up |
-| | &#x2325;PgDown| Scroll Down |
-| | &#x2325;1 | bookmark |
-| | &#x2325;2 | jump to bookmark |
-[ Document navigation ] \ No newline at end of file
+| Group | Subgroup | Keys | Function |
+| :----: | :------: | :------------: | :------------------------------------------------------------------------------------------------------------ |
+| | | '^U' | uppercase word |
+| | | '^u' | lowercase word |
+| | | '^T' | titlecase word |
+| | | '^⌥U' | uppercase current paragraph |
+| | | '^⌥u' | lowercase current paragraph |
+| | | '^⌥t' | titlecase paragraph |
+| | | '^w' | delete word before cursor |
+| | | '⌥w' | select word |
+| | | '⌥S' | select entire line/paragraph |
+| | | '⌥s' | select from beginning of paragrah to last character |
+| | | '⌥d' | delete line/paragraph |
+| | | '⌥y' | copy paragraph |
+| | | '⌥x' | cut paragraph |
+| | | '⌥p' | paste paragraph below |
+| | | '⌥P' | paste paragraph above |
+| | | '^A' | select to beginning of paragraph and copy |
+| | | '^E' | select to end of paragraph and copy |
+| | | '⌥q' | cut to beginning of paragraph |
+| | | '⌥k' | cut to end of paragraph |
+| | | '⌥o' | blank line after current |
+| | | '⌥O' | blank line before current |
+| ^⌘c | | '/' | comment with "//" |
+| ^⌘c | | '\\' | comment with "#" |
+| ^⌘c | | '!' | HTML Comment |
+| ^⌘c | | '*' | CSS Comment |
+| | | '⌘⌥b' | bold selection (Markdown) |
+| | | '⌘⌥i' | italicize selection (Markdown) |
+| | | '⌘⌥=' | increase markdown header level |
+| | | '⌘⌥-' | decrease markdown header level |
+| ^⌘w | | '↩' | force carriage return in text field |
+| ^⌘w | | '⇥' | force tab in text field |
+| ^⌘w | h | '1' | 1st level Headline |
+| ^⌘w | h | '2' | 2nd level Headline |
+| ^⌘w | h | '3' | 3rd level Headline |
+| ^⌘w | h | '4' | 4th level Headline |
+| ^⌘w | h | '5' | 5th level Headline |
+| ^⌘w | h | '6' | 6th level Headline |
+| ^⌘w | l | 't' | create a link for selected text, cursor between () "[selected text]()" |
+| ^⌘w | l | 'c' | create a link for selected text, inserting clipboard as url "[cursorselected text](clipboard contents)" |
+| ^⌘w | i | 't' | same as lt, but with image syntax "![selected text](cursor)" |
+| ^⌘w | i | 'c' | same as lc, but with image syntax "![selected text](cursor)" |
+| ^⌘w | : | 't' | create a reference from selected text |
+| ^⌘w | : | 'c' | create a reference from selected text, clipboard as url |
+| ^⌘w | | '[' | insert reference link |
+| ^⌘w | | '+' | + bulleted list |
+| ^⌘w | | '-' | - bulleted list |
+| ^⌘w | | '*' | * bulleted list |
+| ^⌘w | | '8' | convert current numbered list item to bullet, handles indentation |
+| ^⌘w | | '1' | convert current bullet list item to numbered |
+| ^⌘e | | '=' | ="cursor" |
+| ^⌘e | | 'e' | entity &cursor; |
+| ^⌘e | | '/' | http:// |
+| ^⌘e | | 't' | Make previous word into paired HTML tag |
+| ^⌘e | a | 't' | Insert HTML link for selected text, leave cursor in the href with "http://" selected |
+| ^⌘e | a | 'c' | Insert HTML link with clipboard as href |
+| ^⌘e | i | 't' | Insert image tag, any selected text is alt text, leave cursor in src attribute |
+| ^⌘e | i | 'c' | Insert image tag, clipboard as src, any selected text as alt, leave cursor at beginning of alt attribute |
+| | | '⌥⌘↩' | Command Option Enter to continue a list item with indentation and include the same delimiter |
+| | | '⇧⇥' | Shift Tab remove one tab (or character) from start of line (outdent) |
+| ^⌘s | | '(' | wrap () with spaces |
+| ^⌘s | | ')' | wrap () no spaces |
+| ^⌘s | | '[' | wrap [] with spaces |
+| ^⌘s | | ']' | wrap [] no spaces |
+| ^⌘s | | '{' | wrap {} with spaces |
+| ^⌘s | | '}' | wrap {} no spaces |
+| ^⌘s | | '<' | wrap <> with spaces |
+| ^⌘s | | '>' | wrap <> no spaces |
+| ^⌘s | | ''' | wrap single quotes |
+| ^⌘s | | '`' | wrap backticks |
+| ^⌘s | | '\' | wrap double quote |
+| | | '^⌘k' | move line up |
+| | | '^⌘j' | move line down |
+| | | '^⌘l' | indent line |
+| | | '^⌘h' | outdent line (one tab or char) |
+| | | '^⌘↑' | move line up with arrow keys |
+| | | '^⌘↓' | move line down with arrow keys |
+| | | '^⌘→' | move line left with arrow keys |
+| | | '^⌘←' | move line right with arrow keys |
+| | | '^⇧⌘←' | Control-shift-command-left arrow : Full outdent - Deletes all leading space (or first word) of line/paragraph |
+| | | '⌘⌥⇧↑' | modify selection up by paragraph (Command Option Shift Up) |
+| | | '⌘⌥⇧↓' | modify selection down by paragraph (Command Option Shift Down) |
+| | | '^⌥⇧←' | modify selection left by word |
+| | | '^⌥⇧→' | modify selection right by word |
+| | | '⌘↩' | TextMate Command-Return (Command Enter) |
+| | | '⌘⇧↩' | Insert blank line above paragraph (Command Shift Enter) |
+| | | '⌥_' | hyphenate next space and move to next word |
+| | | '⌥1' | bookmark |
+| | | '⌥2' | jump to bookmark |
+| ⇧⎋ | d | 'd' | 'dd' delete line/paragraph |
+| ⇧⎋ | d | '⇧' | 'd$' delete from cursor to end of graf |
+| ⇧⎋ | d | '0' | 'd0' delete to beginning of paragraph |
+| ⇧⎋ | d | '^' | 'd^' delete to beginning of paragraph |
+| ⇧⎋ | | 'p' | paste after |
+| ⇧⎋ | | 'P' | paste before |
+| ⇧⎋ | | 'y' | Yank |
+| ⇧⎋ | 5 | 'd' | 'dd' delete line/paragraph |
+| ⇧⎋ | | 'p' | paste 5 times after |
+| ⇧⎋ | | 'P' | paste 5 times before |
+| ⇧⎋ | | 'y' | paste 5 times in a row |
+| | | '⌥r' | repeat character before cursor |
+| | | '⌘␡' | Forward delete to end of paragraph |