From ec7e182a862320440ef06e60f8ff8fc528593b9c Mon Sep 17 00:00:00 2001 From: Jeremy Henty Date: Sun, 30 Oct 2011 13:32:33 +0000 Subject: Bind Ctrl-{PageUp,PageDown} to tab-{previous,next}. --- doc/user_help.html | 6 ++++-- src/keys.cc | 2 ++ src/keysrc | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/user_help.html b/doc/user_help.html index 4b35e6e3..bf8bdc18 100644 --- a/doc/user_help.html +++ b/doc/user_help.html @@ -308,8 +308,10 @@ Back or "," < previous page Shift-Back or "." > next page Alt-F File file menu -Ctrl-TabKey TabKey Next tab -Ctrl-Shift-TabKey TabKey Previous tab +Ctrl-TabKey or + Ctrl-PageDown TabKey Next tab +Ctrl-Shift-TabKey or + Ctrl-PageUp TabKey Previous tab Esc escape close dialog, close findbar,
Hide/show control panels diff --git a/src/keys.cc b/src/keys.cc index bd78fd5f..68438b9b 100644 --- a/src/keys.cc +++ b/src/keys.cc @@ -103,7 +103,9 @@ static const KeyBinding_t default_keys[] = { { "new-tab" , KEYS_NEW_TAB , FL_CTRL , 't' }, { "left-tab" , KEYS_LEFT_TAB , FL_CTRL | FL_SHIFT , FL_Tab }, + { "left-tab" , KEYS_LEFT_TAB , FL_CTRL , FL_Page_Up }, { "right-tab" , KEYS_RIGHT_TAB , FL_CTRL , FL_Tab }, + { "right-tab" , KEYS_RIGHT_TAB , FL_CTRL , FL_Page_Down }, { "close-tab" , KEYS_CLOSE_TAB , FL_CTRL , 'w' }, { "find" , KEYS_FIND , FL_CTRL , 'f' }, { "websearch" , KEYS_WEBSEARCH , FL_CTRL , 's' }, diff --git a/src/keysrc b/src/keysrc index 706917df..e0c488f9 100644 --- a/src/keysrc +++ b/src/keysrc @@ -40,7 +40,9 @@ # "left-tab" and "right-tab" switch to the left/right of the current tab. # tab = left-tab +# PageUp = left-tab # tab = right-tab +# PageDown = right-tab # "back" and "forward" move back/forward through the browser history. #backspace = back -- cgit v1.2.3