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
3274 | Ascii '4' when ctrl ->3274 | Ascii '4' when ctrl ->
3275 let zoom = Ffi.getmaxw () /. float !S.winw in3275 let zoom = Ffi.getmaxw () /. float !S.winw in
3276 if zoom > 0.0 then setzoom zoom3276 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 ()
3278 | Ascii ('0'..'9' as c) when not ctrl ->3279 | Ascii ('0'..'9' as c) when not ctrl ->
3279 let ondone s =3280 let ondone s =
3280 let n =3281 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