aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--sdn.cpp1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 958af15..e61ad02 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
Unreleased
+ * Added C-b and C-f bindings for page up and page down navigation
+ in normal mode.
+
* Added an sdn-edit script analogous to sdn-view, bound it to F4,
and moved the original key binding to F14.
diff --git a/sdn.cpp b/sdn.cpp
index df36f88..a7aa16a 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -479,6 +479,7 @@ static map<Key, action> g_normal_actions {
{'G', ACTION_BOTTOM}, {ALT | '>', ACTION_BOTTOM}, {KEY(END), ACTION_BOTTOM},
{'H', ACTION_HIGH}, {'M', ACTION_MIDDLE}, {'L', ACTION_LOW},
{KEY (PPAGE), ACTION_PAGE_PREVIOUS}, {KEY (NPAGE), ACTION_PAGE_NEXT},
+ {CTRL ('B'), ACTION_PAGE_PREVIOUS}, {CTRL ('F'), ACTION_PAGE_NEXT},
{CTRL ('Y'), ACTION_SCROLL_UP}, {CTRL ('E'), ACTION_SCROLL_DOWN},
{'z', ACTION_CENTER},
{'c', ACTION_CHDIR}, {ALT | KEY (UP), ACTION_PARENT},