History

Fix F9 binding

Guard binds to the pattern in a surprising (to me) way.

malc committed 5 years ago

Commit 1354eb81 parent 49832491 file · +2 −1Browse files

Unified · Split

main.ml+2−1
@@ -3274,7 +3274,8 @@ let viewkeyboard key mask = · 3273 unmodified lines
32743274 | Ascii '4' when ctrl ->
32753275 let zoom = Ffi.getmaxw () /. float !S.winw in
32763276 if zoom > 0.0 then setzoom zoom
3277− | Fn 9 | Ascii '9' when ctrl -> togglebirdseye ()
3277+ | Fn 9 -> togglebirdseye ()
3278+ | Ascii '9' when ctrl -> togglebirdseye ()
32783279 | Ascii ('0'..'9' as c) when not ctrl ->
32793280 let ondone s =
32803281 let n =

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