Ticket #1804: 1804.src_keybind.c_XCTRL-g.patch

File 1804.src_keybind.c_XCTRL-g.patch, 768 bytes (added by vit_r, 9 years ago)
  • src/keybind.c

    From 40016d02961b70b0aa08f941fe2e31176ea7b9c6 Mon Sep 17 00:00:00 2001
    From: Vit Rosin <vit_r@list.ru>
    Date: Sat, 7 Nov 2009 23:37:37 +0000
    Subject: [PATCH] src_keybind.c_XCTRL-g
    
    ---
     src/keybind.c |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/src/keybind.c b/src/keybind.c
    index f1d1859..77fb34c 100644
    a b const global_keymap_t default_viewer_keymap[] = { 
    449449    { XCTRL ('b'), CK_ViewPrevFile,       "C-b" }, 
    450450 
    451451    { 'q',         CK_ViewQuit,           "q" }, 
    452     { XCTRL ('q'), CK_ViewQuit,           "C-q" }, 
     452    { XCTRL ('g'), CK_ViewQuit,           "C-g" }, 
    453453    { ESC_CHAR,    CK_ViewQuit,           "Esc" }, 
    454454 
    455455    { ALT ('e'),   CK_SelectCodepage,     "M-e" },