aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Henty <onepoint@starurchin.org>2011-10-30 13:32:33 +0000
committerJeremy Henty <onepoint@starurchin.org>2011-10-30 13:32:33 +0000
commitec7e182a862320440ef06e60f8ff8fc528593b9c (patch)
treef347222ecd3d941ba877723c71545d3b16a5f962
parent64ffdf72ac7bc4101e3b794bb7469180aed14cb9 (diff)
Bind Ctrl-{PageUp,PageDown} to tab-{previous,next}.
-rw-r--r--doc/user_help.html6
-rw-r--r--src/keys.cc2
-rw-r--r--src/keysrc2
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 @@
<tr><td>Back or "<b>,</b>" <td>< <td>previous page
<tr><td>Shift-Back or "<b>.</b>" <td>> <td>next page
<tr><td>Alt-F <td>File <td>file menu
-<tr><td>Ctrl-TabKey <td>TabKey <td>Next tab
-<tr><td>Ctrl-Shift-TabKey <td>TabKey <td>Previous tab
+<tr><td>Ctrl-TabKey or
+ Ctrl-PageDown <td>TabKey <td>Next tab
+<tr><td>Ctrl-Shift-TabKey or
+ Ctrl-PageUp <td>TabKey <td>Previous tab
<tr><td>Esc <td>escape <td>close dialog,
close findbar,<br>
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.
# <ctrl><shift>tab = left-tab
+# <ctrl>PageUp = left-tab
# <ctrl>tab = right-tab
+# <ctrl>PageDown = right-tab
# "back" and "forward" move back/forward through the browser history.
#backspace = back