mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Ticket #1724 (fix for mc.keymap)
* fixed keybind for 'ViewMoveToBol', 'ViewMoveToEol' 'EditScrollUpHighlight', 'EditScrollDownHighlight' * fixed hardcoded bindings into keybind.c
This commit is contained in:
parent
6d311fd852
commit
d449c5f383
@ -58,8 +58,8 @@ EditBeginningOfTextHighlight = ctrl-shift-home
|
||||
EditEndOfTextHighlight = ctrl-shift-end
|
||||
EditBeginPageHighlight = ctrl-shift-pgup
|
||||
EditEndPageHighlight = ctrl-shift-pgdn
|
||||
EditScrollUpHighlight =
|
||||
EditScrollDownHighlight =
|
||||
EditScrollUpHighlight = ctrl-shift-up
|
||||
EditScrollDownHighlight = ctrl-shift-down
|
||||
EditParagraphUpHighlight =
|
||||
EditParagraphDownHighlight =
|
||||
|
||||
@ -156,13 +156,13 @@ SelectCodepage = alt-e
|
||||
|
||||
[viewer]
|
||||
ViewSearch = question; slash; f7
|
||||
ViewContinueSearch = ctrl-r; ctrl-s; f17
|
||||
ViewMoveToBol = home
|
||||
ViewMoveToEol = end
|
||||
ViewContinueSearch = ctrl-r; ctrl-s; f17; n
|
||||
ViewMoveToBol = ctrl-a
|
||||
ViewMoveToEol = ctrl-e
|
||||
ViewMoveLeft = h; left
|
||||
ViewMoveRight = l; right
|
||||
ViewMoveUp = k; y; insert; up
|
||||
ViewMoveDown = j; e; delete; down
|
||||
ViewMoveDown = j; e; delete; down; enter
|
||||
ViewMovePgDn = f; space; pgdn
|
||||
ViewMovePgUp = b; pgup
|
||||
ViewMoveHalfPgDn = d
|
||||
@ -171,7 +171,7 @@ ViewGotoBookmark = m
|
||||
ViewNewBookmark = r
|
||||
ViewNextFile = ctrl-f
|
||||
ViewPrevFile = ctrl-b
|
||||
ViewQuit = q; esc
|
||||
ViewQuit = q; esc; ctrl-g
|
||||
SelectCodepage = alt-e
|
||||
ShowCommandLine = ctrl-o
|
||||
ViewToggleRuler = alt-r
|
||||
@ -196,7 +196,7 @@ CmdMkdir = f7
|
||||
CmdDelete = f8
|
||||
CmdQuit = f10
|
||||
CmdMenuLastSelected = f19
|
||||
CmdQuietQuit = f20
|
||||
CmdQuietQuit = f20; ctrl-g
|
||||
CmdFind = alt-question
|
||||
CmdQuickCd = alt-c
|
||||
CmdQuickChdir = ctrl-backslash
|
||||
|
@ -404,10 +404,11 @@ const global_keymap_t default_viewer_keymap[] = {
|
||||
{ XCTRL ('r'), CK_ViewContinueSearch, "C-r" },
|
||||
{ XCTRL ('s'), CK_ViewContinueSearch, "C-s" },
|
||||
{ KEY_F (17), CK_ViewContinueSearch, "S-F7" },
|
||||
{ 'n', CK_ViewContinueSearch, "n" },
|
||||
{ ALT ('r'), CK_ViewToggleRuler, "M-r" },
|
||||
|
||||
{ KEY_HOME, CK_ViewMoveToBol, "Home" },
|
||||
{ KEY_END, CK_ViewMoveToEol, "End" },
|
||||
{ XCTRL ('a'), CK_ViewMoveToBol, "C-a" },
|
||||
{ XCTRL ('e'), CK_ViewMoveToEol, "C-e" },
|
||||
|
||||
{ 'h', CK_ViewMoveLeft, "h" },
|
||||
{ KEY_LEFT, CK_ViewMoveLeft, "Left" },
|
||||
|
Loading…
Reference in New Issue
Block a user