From 0100ff7053e120b41d6414a6c8da5964b658ac65 Mon Sep 17 00:00:00 2001 From: Brett Terpstra Date: Sat, 13 Aug 2011 10:38:40 -0500 Subject: Forgot we don't have MultiMarkdown here… --- readme.md | 551 +++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 458 insertions(+), 93 deletions(-) diff --git a/readme.md b/readme.md index ee810f3..40691b1 100644 --- a/readme.md +++ b/readme.md @@ -7,96 +7,461 @@ 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 | -|^⌘s | < | wrap <> with spaces | -|^⌘s | > | wrap <> no spaces | -|^⌘s | ' | wrap single quotes | -|^⌘s | ` | wrap backticks | -|^⌘s | " | wrap double quote | -[ Surround (^⌘s) ] - - -| Group | Keys | Function | -| :---: | :--: | :------- | -| | ^⌘k | move line up | -| | ^⌘j | move line down | -| | ^⌘l | indent line | -| | ^⌘h | outdent line (all the way) | -| | ^⌥k | copy line and paste above | -| | ^⌥j | copy line and paste below | -| | ⌘⌥ꜛ| modify selection up | -| | ⌘⌥ꜜ| modify selection down | -| | ⌘␡ | Forward delete to end of paragraph | -[ List/Paragraph motion ] - - -| Group | Keys | Function | -| :---: | :-----------: | :--------------- | -| | PgUp | Page Up | -| | PgDown | Page Down | -| | ⌥PgUp | Scroll up | -| | ⌥PgDown| Scroll Down | -| | ⌥1 | bookmark | -| | ⌥2 | jump to bookmark | -[ Document navigation ] \ No newline at end of file +

DefaultKeyBindings.dict file for Mac OS X, created by Brett Terpstra and based heavily on work done by Lri. See Lri’s gists and website for more coding madness.

+ +

Grouped items begin with the groups shortcut, followed by the Keys specified. Items separated by commas are sequential, not concurrent.

+ + + +++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
All purpose key combos
GroupKeysFunction
⌥zcopy character before cursor
⌥rrepeat character before cursor
⌥ttranspose characters
⌥+uppercase word
⌥-lowercase word
⌥.capitalize word
^wdelete word before cursor
⌥wselect word
⌥fcut word (fold)
⌥gcopy word (grab)
⌥hpaste word (hit)
⌥lselect entire line/paragraph
⌥sselect from beginning of paragrah to last character
⌥ddelete line/paragraph
⌥ycopy paragraph
⌥xcut paragraph
⌥ppaste paragraph below
⌥⇧Ppaste paragraph above
^⇧Aselect to beginning of paragraph and copy
^⇧Eselect to end of paragraph and copy
⌥qcut to beginning of paragraph
⌥kcut to end of paragraph
⌥,move paragraph up a line, inserting blank space after
⌥␠move paragraph to end of document
⌥oblank line after current
⌥⇧Oblank line before current
⌘⌥/comment with “//”
⌘⌥3comment with “#”
+ + + + +++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Markdown-specific shortcuts (^⌘W)
GroupKeysFunction
⌘⌥bbold selection
⌘⌥iitalicize selection
^⌘w⏎force Return
^⌘wforce Tab
^⌘w1–4# Headlines
^⌘wl,tlink text "[selected text]( | )"
^⌘wl,cclipboard link "[ | selected text](clipboard contents)"
^⌘wi,timage, selection as alt "![selected text]( | )"
^⌘wi,cclipboard image "![ | selected text](clipboard contents)"
^⌘w:,tcreate a reference from selected text
^⌘w:,ccreate a reference from selected text, clipboard as url
^⌘w[insert reference link
^⌘w+|-|*lists
^⌘w=,⌥⇧Lnew list item after current
^⌘weentity
^⌘w=,/http://
+ + + + +++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Surround (^⌘s)
GroupKeysFunction
^⌘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
^⌘swrap single quotes
^⌘s`wrap backticks
^⌘s"wrap double quote
+ + + + +++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
List/Paragraph motion
GroupKeysFunction
^⌘kmove line up
^⌘jmove line down
^⌘lindent line
^⌘houtdent line (all the way)
^⌥kcopy line and paste above
^⌥jcopy line and paste below
⌘⌥ꜛmodify selection up
⌘⌥ꜜmodify selection down
⌘␡Forward delete to end of paragraph
+ + + + +++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Document navigation
GroupKeysFunction
PgUpPage Up
PgDownPage Down
⌥PgUpScroll up
⌥PgDownScroll Down
⌥1bookmark
⌥2jump to bookmark
+ -- cgit v1.2.3