diff options
| author | Brett Terpstra | 2013-03-13 10:59:44 -0500 | 
|---|---|---|
| committer | Brett Terpstra | 2013-03-13 10:59:44 -0500 | 
| commit | 0400547ee384afcf07f1fd192f7eeec0a50e50cc (patch) | |
| tree | b9268d93e82561db5e434fccf49b3a915a583403 | |
| parent | 3f832dc9248427911f98fac1895b28a759c40282 (diff) | |
| download | KeyBindings-0400547ee384afcf07f1fd192f7eeec0a50e50cc.tar.bz2 | |
Adding Markdown blockquoting shortcuts
| -rw-r--r-- | DefaultKeyBinding.dict | 13 | 
1 files changed, 9 insertions, 4 deletions
| diff --git a/DefaultKeyBinding.dict b/DefaultKeyBinding.dict index 1feed5e..369745d 100644 --- a/DefaultKeyBinding.dict +++ b/DefaultKeyBinding.dict @@ -143,6 +143,11 @@    // decrease markdown header level    "@~-" = (setMark:, moveToBeginningOfParagraph:, deleteForward:, swapWithMark:, moveLeft:); +  // increase blockquote header level +  "@~>" = (setMark:, moveToBeginningOfParagraph:, insertText:, "> ", swapWithMark:, moveRight:, moveRight:); +  // decrease blockquote level +  "@~<" = (setMark:, moveToBeginningOfParagraph:, deleteForward:, deleteForward:, swapWithMark:, moveLeft:); +    // Add hard break for current line and insert newline below (new)    // "^~\U000D" = (moveToEndOfParagraph:, insertText:, " ", selectWord:, deleteBackward:, insertText:, "  ", insertNewline:);    // Break line at cursor and add Markdown hard line break (new) @@ -301,17 +306,17 @@    "@~7" = (setMark:, rightMouseDown:, swapWithMark:);    // Hyper up arrow: move cursor to preceeding paragraph -  "^~$@\UF700" = (moveToBeginningOfParagraph:,moveLeft:,moveLeft:,moveToBeginningOfParagraph:); +  // "^~$@\UF700" = (moveToBeginningOfParagraph:,moveLeft:,moveLeft:,moveToBeginningOfParagraph:);    // Hyper left arrow: move cursor to next paragraph -  "^~$@\UF701" = (moveToEndOfParagraph:,moveRight:,moveRight:,moveToBeginningOfParagraph:); +  // "^~$@\UF701" = (moveToEndOfParagraph:,moveRight:,moveRight:,moveToBeginningOfParagraph:);    // Hyper right arrow: move cursor right twice as fast    // "^~$@\UF703" = (moveRight:,moveRight:);    // Hyper left arrow: move cursor left twice as fast    // "^~$@\UF702" = (moveLeft:,moveLeft:);    // Hyper left arrow: extend selection left by word -  "^~$@\UF702" = (selectWord:, moveWordLeftAndModifySelection:); +  // "^~$@\UF702" = (selectWord:, moveWordLeftAndModifySelection:);    // Hyper right arrow: extend selection right by word -  "^~$@\UF703" = (selectWord:, moveWordRightAndModifySelection:); +  // "^~$@\UF703" = (selectWord:, moveWordRightAndModifySelection:);    // Real, honest-to-goodnes Save As...    "@~S" = (saveAs:); | 
