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
8989 insert - toggle link navigation mode
9090 o - switch to outline/table of contents mode
9191 ' - switch to bookmark mode
92−F1/Alt-h - switch to help mode
93−Shift-h - switch to history mode
92+F1 - switch to help mode
93+Alt-F1 - switch to history mode
9494 i - switch to info mode
9595 P - switch to "presentation" mode
9696 c - switch to previous column layout
main.ml+4−2
@@ -3397,9 +3397,11 @@ let viewkeyboard key mask = · 3396 unmodified lines
33973397 end
33983398 | Some n -> setautoscrollspeed n true
33993399 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 ()
34013404 | Fn 1 -> enterhelpmode ()
3402− | Ascii 'h' when Wsi.withalt mask -> enterhelpmode ()
34033405 | Left | Right when not (Wsi.withalt mask) ->
34043406 if canpan ()
34053407 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