summaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md102
1 files changed, 102 insertions, 0 deletions
diff --git a/readme.md b/readme.md
new file mode 100644
index 0000000..ee810f3
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,102 @@
+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 |
+|^&#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