Ticket #1661: mc-missing-keybindings.patch

File mc-missing-keybindings.patch, 1.5 KB (added by gotar, 15 years ago)
  • misc/mc.keymap

    diff -urN mc.orig/misc/mc.keymap mc/misc/mc.keymap
    old new  
    5959EditEndOfTextHighlight  = ctrl-shift-end 
    6060EditBeginPageHighlight  = ctrl-shift-pgup 
    6161EditEndPageHighlight = ctrl-shift-pgdn 
    62 EditScrollUpHighlight = 
    63 EditScrollDownHighlight = 
     62EditScrollUpHighlight = ctrl-shift-up 
     63EditScrollDownHighlight = ctrl-shift-down 
    6464EditParagraphUpHighlight = 
    6565EditParagraphDownHighlight = 
    6666 
     
    162162 
    163163[viewer] 
    164164ViewSearch = question; slash; f7 
    165 ViewContinueSearch = ctrl-r; ctrl-s; f17 
     165ViewContinueSearch = ctrl-r; ctrl-s; f17; n 
    166166ViewMoveToBol = home 
    167167ViewMoveToEol = end 
    168168ViewMoveLeft = h; left 
     
    215215PanelDoEnter = enter 
    216216PanelChdirOtherPanel = alt-o 
    217217PanelChdirToReadlink = alt-l 
    218 PanelViewSimple = shift-F3 
     218PanelViewSimple = f13 
    219219PanelEditNew = F14 
    220220PanelCopyLocal = F15 
    221221PanelRenameLocal = F16 
  • src/keybind.c

    diff -urN mc.orig/src/keybind.c mc/src/keybind.c
    old new  
    360360 
    361361    { '?',                                  CK_ViewSearch }, 
    362362    { '/',                                  CK_ViewSearch }, 
     363    { 'n',                                  CK_ViewContinueSearch }, 
    363364    { XCTRL('r'),                           CK_ViewContinueSearch }, 
    364365    { XCTRL('s'),                           CK_ViewContinueSearch }, 
    365366    { KEY_F (17),                           CK_ViewContinueSearch },