History

Another key shuffle

So that hist/help modes are accessible when home row is remapped.

malc committed 5 years ago

Commit d7adab51 parent 76b80052 files · +6 −4Browse files

Unified · Split

2 files
  1. help.ml +2 −2
  2. main.ml +4 −2
help.ml+2−2
@@ -89,8 +89,8 @@ f - toggle fullscreen · 88 unmodified lines
89insert - toggle link navigation mode89insert - toggle link navigation mode
90o - switch to outline/table of contents mode90o - switch to outline/table of contents mode
91' - switch to bookmark mode91' - switch to bookmark mode
92F1/Alt-h - switch to help mode92F1 - switch to help mode
93Shift-h - switch to history mode93Alt-F1 - switch to history mode
94i - switch to info mode94i - switch to info mode
95P - switch to "presentation" mode95P - switch to "presentation" mode
96c - switch to previous column layout96c - switch to previous column layout
main.ml+4−2
@@ -3397,9 +3397,11 @@ let viewkeyboard key mask = · 3396 unmodified lines
3397 end3397 end
3398 | Some n -> setautoscrollspeed n true3398 | Some n -> setautoscrollspeed n true
3399 end3399 end
3400 | Ascii 'H' -> enterhistmode ()3400 | Ascii 'H' -> enterhistmode () (* NB:
3401 when home row is remapped this
3402 is inaccessible (sH becomes left-arrow) *)
3403 | Fn 1 when Wsi.withalt mask -> enterhistmode ()
3401 | Fn 1 -> enterhelpmode ()3404 | Fn 1 -> enterhelpmode ()
3402 | Ascii 'h' when Wsi.withalt mask -> enterhelpmode ()
3403 | Left | Right when not (Wsi.withalt mask) ->3405 | Left | Right when not (Wsi.withalt mask) ->
3404 if canpan ()3406 if canpan ()
3405 then3407 then

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t