logs.gokuls.in

2 pull requests merged across 2 repos

bahdotsh/mdterm

  • Fixes #44 — Terminator terminal emulator intercepts F1 for its own help, so mdterm's help overlay was unreachable there.
  • Binds h / H to open help from markdown Normal mode (vim-style).
  • Wires ? into the global help toggle next to F1, so JSON view and slide mode (where h is already bound) also get a non-conflicting way to open help.
  • ? is gated out of Search and FuzzyHeading modes where it's a legitimate input character.
  • Status bar hint now reads ? help; help overlay lists h / ? / F1.

Test plan

  • Markdown file: press h → help opens; press h / ? / Esc / q → closes.
  • Markdown file: press F1 → still works (toggle).
  • JSON file: press h → node collapses (unchanged); press ? → help opens.
  • Slide mode: press h → previous slide (unchanged); press ? → help opens.
  • Search mode (/foo?bar): ? is accepted as regex input, does not open help.
  • Fuzzy heading mode (:): typing ? as part of a query does not open help.
  • cargo build / cargo fmt clean.

rust-lang/this-week-in-rust