Browse Source

Add ctrl-v/meta-v bindings for page-up/page-down

Many of the other keybindings seem to have emacs defaults, so add
page-up/page-down, for use on laptop keyboards without real page
keys.

Change-Id: I02bd8bebe9bfea89133d2eb28322bcf5fabaacf8
tags/1.6.0
Doug Wiegley 3 months ago
parent
commit
0ff7b5ef5b
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      gertty/keymap.py

+ 2
- 2
gertty/keymap.py View File

@@ -91,8 +91,8 @@ DEFAULT_KEYMAP = {
91 91
     CURSOR_DOWN: 'down',
92 92
     CURSOR_LEFT: 'left',
93 93
     CURSOR_RIGHT: 'right',
94
-    CURSOR_PAGE_UP: 'page up',
95
-    CURSOR_PAGE_DOWN: 'page down',
94
+    CURSOR_PAGE_UP: ['page up', 'meta v'],
95
+    CURSOR_PAGE_DOWN: ['page down', 'ctrl v'],
96 96
     CURSOR_MAX_LEFT: ['home', 'ctrl a'],
97 97
     CURSOR_MAX_RIGHT: ['end', 'ctrl e'],
98 98
     ACTIVATE: 'enter',

Loading…
Cancel
Save