DefaultKeyBindings.dict file for Mac OS X, created by [Brett Terpstra][] and based heavily on work done by [Lri][lrikeys]. See Lri's [gists][lrigists] and [website][lriweb] for more coding madness. [lrikeys]: http://www.cs.helsinki.fi/u/lranta/keybindings/ [lriweb]: http://www.cs.helsinki.fi/u/lranta/ [lrigists]: https://gist.github.com/Lri [brett terpstra]: http://brettterpstra.com *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 ]