From 1fe3d514d01da9f8fc22f43c20a92188d4e4bf10 Mon Sep 17 00:00:00 2001 From: Brett Terpstra Date: Tue, 8 May 2012 06:50:15 -0500 Subject: Adding Cheaters version of keybindings table --- keybindings.html | 646 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 646 insertions(+) create mode 100644 keybindings.html diff --git a/keybindings.html b/keybindings.html new file mode 100644 index 0000000..22fbd3c --- /dev/null +++ b/keybindings.html @@ -0,0 +1,646 @@ + + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
General Commands
General Commands
KeyFunction
^yreplace yank: command with yankAndSelect for use with the kill ring ( defaults write -g NSTextKillRingSize -string 6)
^⇧uuppercase word
^⌥ulowercase word
^⇧ttitlecase word
^⌥⇧uuppercase current paragraph
^⌥ttitlecase paragraph
^wdelete word before cursor
⌥wselect word
⌥⇧sselect entire line/paragraph
⌥sselect from beginning of paragrah to last character
^⌥⇧sselect paragraph excluding leading/trailing whitespace (same as ^$@\UF701)
⌥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
⌥oblank line after current
⌥⇧oblank line before current
^⌘kmove line up
^⌘jmove line down
^⌘lindent line
^⌘houtdent line (one tab or char)
^⌘↑move line up ( same commands but with arrow keys)
^⌘↓move line down
^⌘→indent line
^⌘←outdent line (one tab or char)
^⇧⌘←Full outdent - Deletes all leading space of line/paragraph (updated) ( Control-shift-command-left arrow)
^⇧⌘→Delete trailing space
^⌘⇧↑Delete leading and trailing whitespace for paragraph
^⌘⇧↓Select paragraph without leading or trailing whitespace (same as “^~s”)
⌘⌥⇧↑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
⌘⌥^←Move to first Alphanumeric character of line (new)
⌘⌥←Move to first non-whitespace character of line (new)
⌘⌥⇧←Select to first character of line with leading space (new)
⌥⌘→Move to last non-whitespace character of paragraph (new)
^⌥→Move to end of paragraph and delete trailing whitespace (new)
⌘↩TextMate Command-Return (Command Enter)
⌘⇧↩Insert blank line above paragraph (Command Shift Enter)
⌥_hyphenate next space and move to next word ( this will kill non alphanumeric symbols and punctuation, use only on words)
⌥1bookmark
⌥2jump to bookmark
⌥⌘↩Continue a list item with indentation and include the same delimiter ( Command Option Enter)
⇧⇥remove one tab (or character) from start of line (outdent) ( Shift Tab)
⌘⌥bbold selection (Markdown)
⌘⌥iitalicize selection (Markdown)
⌘⌥=increase markdown header level
⌘⌥-decrease markdown header level
^⌥↩Add hard break for current line and insert newline below (new)
^⌘↩Break line at cursor and add Markdown hard line break (new)
^<Make selected text into paired HTML tag. Allows attributes, only dupes first word into closing tag (caveat: overwrites your pasteboard)
⌥rrepeat character before cursor
⌘⇧⌦Forward delete to end of paragraph
⌘⇧⌫Delete to beginning of paragraph
⌘⌥7Right mouse click (useless, doesn’t maintain cursor position)
+ + + + ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Commenting commands
Commenting commands (^⌘c)
^⌘c/comment with “//”
^⌘c\comment with “#”
^⌘c!HTML commenting
^⌘c*Css Commenting
+ + + + ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Multi-stroke Markdown commands
Multi-stroke Markdown commands (^⌘w)
^⌘wforce carriage return in text field
^⌘wforce tab in text field
^⌘w\insert reference link [selection][[cursor]]
^⌘w\insert reference [selection]: [cursor]
^⌘w+Unordered list item with
^⌘w-Unordered list item with -
^⌘w*Unordered list item with *
^⌘w8convert current numbered list item to bullet, handles indentation
^⌘w1convert current bullet list item to numbered
Headlines (removes leading whitespace after inserting hashmarks) (h)
^⌘wh1#
^⌘wh2##
^⌘wh3###
^⌘wh4####
^⌘wh5#####
^⌘wh6######
Markdown link (l)
^⌘wltcreate a link for selected text, cursor between () [selected text]([cursor]) ( links without selected text first, these can produce a mess using multiple clipboards make a text selection before you run them)
^⌘wlccreate a link for selected text, inserting clipboard as url [[cursor]selected text](clipboard contents)
Link as image (i)
^⌘witsame as lt, but with image syntax ![selected text]([cursor])
^⌘wicsame as lc, but with image syntax ![selected text](clipboard)
Reference links (:)
^⌘w:tcreate a reference from selected text
^⌘w:ccreate a reference from selected text, clipboard as url
+ + + + ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HTML commands
HTML commands (^⌘e)
^⌘e==“[cursor]”
^⌘eeentity &[cursor];
^⌘e/http://
^⌘etMake previous word into paired HTML tag
HTML Links (a)
^⌘eatInsert HTML link for selected text, leave cursor in the href with “http://” selected
^⌘eacInsert HTML link with clipboard as href
HTML Image (i)
^⌘eitInsert image tag, any selected text is alt text, leave cursor in src attribute
^⌘eicInsert image tag, clipboard as src, any selected text as alt, leave cursor at beginning of alt attribute
+ + + + ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Surround commands
Surround commands (^⌘s)
^⌘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
+
+

See Brett's KeyBindings for more info.

\ No newline at end of file -- cgit v1.2.3