home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2008 January / Mac_easy_01_08.iso / Software / Office / TextMate_1.5.7.dmg / TextMate.app / Contents / Resources / KeyBindings.dict < prev    next >
Encoding:
Text File  |  2007-10-19  |  3.4 KB  |  105 lines

  1. {
  2.     /* This is incase there are TextExtras keybindings which
  3.        bind these to some TE_indentFriendly versions         */
  4.     "\U0009" = "insertTab:";
  5.     "\U000D" = "insertNewline:";
  6.     "\U007F" = "deleteBackward:";
  7.     "\UF728" = "deleteForward:";
  8.  
  9.     "~\U007F" = "deleteWordLeft:";                            /* alt-backspace */
  10.     "~\UF728" = "deleteWordRight:";                            /* alt-delete */
  11.     "@\U007F" = "deleteToBeginningOfLine:";                    /* cmd-backspace */
  12.     "@\UF728" = "deleteToEndOfLine:";                        /* cmd-delete */
  13.     // "^\U007F" = "deleteToBeginningOfLine:";                    /* ctrl-backspace */
  14.     // "^\UF728" = "deleteToEndOfLine:";                        /* ctrl-delete */
  15.  
  16.     /* Uncomment if you want sane page up/down and home/end keys */
  17. /*    "\UF72C" = "pageUp:";
  18.     "\UF72D" = "pageDown:";
  19.     "\UF729" = "moveToBeginningOfDocument:";
  20.     "\UF72B" = "moveToEndOfDocument:";
  21. */
  22.     "$\UF72C" = "pageUpAndModifySelection:";        /* shift-page-up */
  23.     "$\UF72D" = "pageDownAndModifySelection:";        /* shift-page-down */
  24.     "~$\UF72C" = "pageUpAndModifySelection:";        /* alt-shift-page-up */
  25.     "~$\UF72D" = "pageDownAndModifySelection:";        /* alt-shift-page-down */
  26.  
  27.     "~\UF700" = "moveToBeginningOfColumn:";                            /* alt-up arrow */
  28.     "~\UF701" = "moveToEndOfColumn:";                                /* alt-down arrow */
  29.     "~$\UF700" = "moveToBeginningOfColumnAndModifySelection:";        /* alt-shift-up arrow */
  30.     "~$\UF701" = "moveToEndOfColumnAndModifySelection:";            /* alt-shift-down arrow */
  31.  
  32.     "^\U007F" = "deleteSubWordLeft:";                        /* ctrl-alt-backspace */
  33.     "^\UF728" = "deleteSubWordRight:";                        /* ctrl-alt-delete */
  34.     "^\UF702" = "moveSubWordLeft:";                            /* ctrl-alt-left arrow */
  35.     "^\UF703" = "moveSubWordRight:";                            /* ctrl-alt-right arrow */
  36.     "^$\UF702" = "moveSubWordLeftAndModifySelection:";        /* ctrl-alt-shift-left arrow */
  37.     "^$\UF703" = "moveSubWordRightAndModifySelection:";        /* ctrl-alt-shift-right arrow */
  38.  
  39.     "^@\UF700" = "moveSelectionUp:";
  40.     "^@\UF701" = "moveSelectionDown:";
  41.     "^@\UF702" = "moveSelectionLeft:";
  42.     "^@\UF703" = "moveSelectionRight:";
  43.  
  44.     "^~@\UF700" = "scrollLineUp:";
  45.     "^~@\UF701" = "scrollLineDown:";
  46.     "^~@\UF702" = "scrollColumnLeft:";
  47.     "^~@\UF703" = "scrollColumnRight:";
  48.  
  49.     "^w" = "selectWord:";
  50. /*    this one is causing too many conflicts with localized key maps
  51.     "~l" = "selectLine:";
  52.     "~p" = "selectParagraph:";
  53. */
  54.     "^t" = "transpose:";
  55.     "^T" = "transposeWords:";
  56.     "^g" = "changeCaseOfLetter:";
  57.     "^~g" = "changeCaseOfWord:";
  58.     "^u" = "uppercaseWord:";
  59.     "^U" = "lowercaseWord:";
  60.     "^~u" = "capitalizeWord:";
  61.  
  62.     "^q" = "reformatText:";
  63.     "^j" = "reformatTextAndJustify:";
  64.     "^~q" = "unwrapText:";
  65.  
  66. //    "^~f" = "fillSelectionWith:";
  67.  
  68.     "~\031" = "shiftLeft:";
  69.     "~\011" = "shiftRight:";
  70.  
  71.     /* Back-tab is used to move backwards in snippet placeholders */
  72. //  "\031" = "selectFollowingKeyView:";
  73.  
  74. /*    "^a" = "moveToBeginningOfParagraph:";
  75.     "^e" = "moveToEndOfParagraph:";
  76.     "^k" = "deleteToEndOfParagraph:";
  77. */
  78.     "^r" = "executeSelectionInsertingOutput:";
  79. //    "^R" = "executeSelectionAppendingOutput:";
  80.     "^~r" = "executeSelectionReplacingSelection:";
  81. //    "~@r" = "executeCommand:";
  82.  
  83. /*    "^~l" = "alignLeft:";
  84.     "^~r" = "alignRight:";
  85.     "^~c" = "alignCenter:";
  86.     "^~j" = "alignJustified:";
  87. */
  88.     "^A" = "enterLineAppendMode:";
  89.  
  90.     "^s" = "ISIM_incrementalSearch:"; 
  91.     "^S" = "ISIM_reverseIncrementalSearch:"; 
  92.  
  93.     "\033" = "nextCompletion:";                        /* escape */
  94.     "~\033" = "nextCompletion:";                    /* escape */
  95.     "$\033" = "previousCompletion:";                /* shift-escape */
  96.  
  97.     "~\UF705" = "showContextMenu:";
  98.  
  99.     "^~b" = "selectCurrentScope:";
  100.  
  101. //  "@=" = "makeTextLarger:";
  102.  
  103. //  "^P" = "showFunctionPopup:";
  104. }
  105.