| 1 | == Амбула == |
| 2 | Для переназначения клавиш в mcedit вы можете воспользоваться следующим способом. Необходимо создать файл |
| 3 | |
| 4 | '''~/.mc/cedit/cooledit.bindings''' |
| 5 | {{{ |
| 6 | # my hotkeys for example |
| 7 | bind C-y Delete-Line |
| 8 | bind C-x XCut |
| 9 | bind C-w XStore |
| 10 | bind C-v XPaste |
| 11 | bind A-_ Prev-Bookmark |
| 12 | bind A-+ Next-Bookmark |
| 13 | bind A-| Toggle-Bookmark |
| 14 | bind M-right Word-Right |
| 15 | bind M-b Word-Left |
| 16 | }}} |
| 17 | |
| 18 | Следующим шагом необходимо вызвать диалог '''Настройки редактора''', для этого в редакторе вызовите меню '''Настройка\Общая...''' |
| 19 | и выберите флаг '''(*) Определенный пользователем''' в секции '''Эмуляция раскладки клавиш'''. |
| 20 | |
| 21 | Возможные варианты "Действий" представлены здесь: |
| 22 | {{{ |
| 23 | No-Command |
| 24 | Ignore-Key |
| 25 | BackSpace |
| 26 | Delete |
| 27 | Enter |
| 28 | Page-Up |
| 29 | Page-Down |
| 30 | Left |
| 31 | Right |
| 32 | Word-Left |
| 33 | Word-Right |
| 34 | Up |
| 35 | Down |
| 36 | Home |
| 37 | End |
| 38 | Tab |
| 39 | Undo |
| 40 | Beginning-Of-Text |
| 41 | End-Of-Text |
| 42 | Scroll-Up |
| 43 | Scroll-Down |
| 44 | Return |
| 45 | Begin-Page |
| 46 | End-Page |
| 47 | Delete-Word-Left |
| 48 | Delete-Word-Right |
| 49 | Paragraph-Up |
| 50 | Paragraph-Down |
| 51 | Save |
| 52 | Load |
| 53 | New |
| 54 | Save-as |
| 55 | Mark |
| 56 | Copy |
| 57 | Move |
| 58 | Remove |
| 59 | Unmark |
| 60 | Save-Block |
| 61 | Column-Mark |
| 62 | Find |
| 63 | Find-Again |
| 64 | Replace |
| 65 | Replace-Again |
| 66 | Complete-Word |
| 67 | Debug-Start |
| 68 | Debug-Stop |
| 69 | Debug-Toggle-Break |
| 70 | Debug-Clear |
| 71 | Debug-Next |
| 72 | Debug-Step |
| 73 | Debug-Back-Trace |
| 74 | Debug-Continue |
| 75 | Debug-Enter-Command |
| 76 | Debug-Until-Curser |
| 77 | Insert-File |
| 78 | Exit |
| 79 | Toggle-Insert |
| 80 | Help |
| 81 | Date |
| 82 | Refresh |
| 83 | Goto |
| 84 | Delete-Line |
| 85 | Delete-To-Line-End |
| 86 | Delete-To-Line-Begin |
| 87 | Man-Page |
| 88 | Sort |
| 89 | Mail |
| 90 | Cancel |
| 91 | Complete |
| 92 | Paragraph-Format |
| 93 | Util |
| 94 | Type-Load-Python |
| 95 | Find-File |
| 96 | Ctags |
| 97 | Match-Bracket |
| 98 | Terminal |
| 99 | Terminal-App |
| 100 | ExtCmd |
| 101 | User-Menu |
| 102 | Save-Desktop |
| 103 | New-Window |
| 104 | Cycle |
| 105 | Menu |
| 106 | Save-And-Quit |
| 107 | Run-Another |
| 108 | Check-Save-And-Quit |
| 109 | Maximize |
| 110 | Begin-Record-Macro |
| 111 | End-Record-Macro |
| 112 | Delete-Macro |
| 113 | Toggle-Bookmark |
| 114 | Flush-Bookmarks |
| 115 | Next-Bookmark |
| 116 | Prev-Bookmark |
| 117 | Page-Up-Highlight |
| 118 | Page-Down-Highlight |
| 119 | Left-Highlight |
| 120 | Right-Highlight |
| 121 | Word-Left-Highlight |
| 122 | Word-Right-Highlight |
| 123 | Up-Highlight |
| 124 | Down-Highlight |
| 125 | Home-Highlight |
| 126 | End-Highlight |
| 127 | Beginning-Of-Text-Highlight |
| 128 | End-Of-Text_Highlight |
| 129 | Begin-Page-Highlight |
| 130 | End-Page-Highlight |
| 131 | Scroll-Up-Highlight |
| 132 | Scroll-Down-Highlight |
| 133 | Paragraph-Up-Highlight |
| 134 | Paragraph-Down-Highlight |
| 135 | XStore |
| 136 | XCut |
| 137 | XPaste |
| 138 | Selection-History |
| 139 | Shell |
| 140 | Select-Codepage |
| 141 | Insert-Literal |
| 142 | Execute-Macro |
| 143 | Begin-or-End-Macro |
| 144 | Ext-mode |
| 145 | Focus-Next |
| 146 | Focus-Prev |
| 147 | Height-Inc |
| 148 | Height-Dec |
| 149 | Make |
| 150 | Error-Next |
| 151 | Error-Prev |
| 152 | }}} |