Tweak key bindings.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2012-01-09 20:03:46 +03:00
parent b80864431c
commit b33b64dc8c
2 changed files with 7 additions and 7 deletions

View File

@ -75,7 +75,6 @@ static name_keymap_t command_names[] = {
{"ChangeOwnAdvanced", CK_ChangeOwnAdvanced}, {"ChangeOwnAdvanced", CK_ChangeOwnAdvanced},
{"Remove", CK_Remove}, {"Remove", CK_Remove},
{"BackSpace", CK_BackSpace}, {"BackSpace", CK_BackSpace},
{"Undo", CK_Undo},
{"Redo", CK_Redo}, {"Redo", CK_Redo},
{"Clear", CK_Clear}, {"Clear", CK_Clear},
{"Menu", CK_Menu}, {"Menu", CK_Menu},
@ -111,6 +110,8 @@ static name_keymap_t command_names[] = {
{"ScreenPrev", CK_ScreenPrev}, {"ScreenPrev", CK_ScreenPrev},
{"FileNext", CK_FileNext}, {"FileNext", CK_FileNext},
{"FilePrev", CK_FilePrev}, {"FilePrev", CK_FilePrev},
{"DeleteToHome", CK_DeleteToHome},
{"DeleteToEnd", CK_DeleteToEnd},
{"DeleteToWordBegin", CK_DeleteToWordBegin}, {"DeleteToWordBegin", CK_DeleteToWordBegin},
{"DeleteToWordEnd", CK_DeleteToWordEnd}, {"DeleteToWordEnd", CK_DeleteToWordEnd},
{"Cut", CK_Cut}, {"Cut", CK_Cut},
@ -244,6 +245,7 @@ static name_keymap_t command_names[] = {
#ifdef USE_INTERNAL_EDIT #ifdef USE_INTERNAL_EDIT
{"Tab", CK_Tab}, {"Tab", CK_Tab},
{"Undo", CK_Undo},
{"ScrollUp", CK_ScrollUp}, {"ScrollUp", CK_ScrollUp},
{"ScrollDown", CK_ScrollDown}, {"ScrollDown", CK_ScrollDown},
{"Return", CK_Return}, {"Return", CK_Return},
@ -260,8 +262,6 @@ static name_keymap_t command_names[] = {
{"InsertOverwrite", CK_InsertOverwrite}, {"InsertOverwrite", CK_InsertOverwrite},
{"Date", CK_Date}, {"Date", CK_Date},
{"DeleteLine", CK_DeleteLine}, {"DeleteLine", CK_DeleteLine},
{"DeleteToHome", CK_DeleteToHome},
{"DeleteToEnd", CK_DeleteToEnd},
{"EditMail", CK_Mail}, {"EditMail", CK_Mail},
{"ParagraphFormat", CK_ParagraphFormat}, {"ParagraphFormat", CK_ParagraphFormat},
{"MatchBracket", CK_MatchBracket}, {"MatchBracket", CK_MatchBracket},

View File

@ -80,12 +80,14 @@ enum
CK_SearchStop, CK_SearchStop,
CK_Help, CK_Help,
CK_Edit, CK_Edit,
CK_EditNew,
CK_Shell, CK_Shell,
CK_SelectCodepage, CK_SelectCodepage,
CK_History, CK_History,
CK_HistoryNext, CK_HistoryNext,
CK_HistoryPrev, CK_HistoryPrev,
CK_Complete, CK_Complete,
CK_Save,
CK_SaveAs, CK_SaveAs,
CK_Goto, CK_Goto,
CK_Reread, CK_Reread,
@ -99,6 +101,8 @@ enum
CK_ScreenPrev, CK_ScreenPrev,
CK_FilePrev, CK_FilePrev,
CK_FileNext, CK_FileNext,
CK_DeleteToHome,
CK_DeleteToEnd,
CK_DeleteToWordBegin, CK_DeleteToWordBegin,
CK_DeleteToWordEnd, CK_DeleteToWordEnd,
CK_ShowNumbers, CK_ShowNumbers,
@ -222,9 +226,7 @@ enum
CK_ParagraphUp, CK_ParagraphUp,
CK_ParagraphDown, CK_ParagraphDown,
/* file commands */ /* file commands */
CK_Save,
CK_EditFile, CK_EditFile,
CK_EditNew,
CK_InsertFile, CK_InsertFile,
CK_EditSyntaxFile, CK_EditSyntaxFile,
/* block commands */ /* block commands */
@ -232,8 +234,6 @@ enum
CK_BlockShiftLeft, CK_BlockShiftLeft,
CK_BlockShiftRight, CK_BlockShiftRight,
CK_DeleteLine, CK_DeleteLine,
CK_DeleteToHome,
CK_DeleteToEnd,
/* bookmarks */ /* bookmarks */
CK_BookmarkFlush, CK_BookmarkFlush,
CK_BookmarkNext, CK_BookmarkNext,