Estudio de escritura

Quick Open (Cmd/Ctrl P): fuzzy file-jump

Lectura de 2 min 29 次瀏覽

Writing chapter 10 and want to jump back to chapter 2 to check a setup? Hit Cmd/Ctrl P, type "lighthouse", Enter. Three seconds.

Slima Writing Studio editor (single-pane reference; Quick Open opens a centred search box near the top of the editor)

Open Quick Open

Cmd/Ctrl P (i18n command-palette alias "Quick Open") — a search box appears centred near the top.

Exact shortcut may vary by platform / Slima version. You can also open the command palette (Cmd/Ctrl K) and search "Quick Open".

Fuzzy match

You don't need to type the full filename. Slima fuzzy-matches — characters in order, not strictly adjacent. E.g.:

You type Matches
lighth "Shadows of the Lighthouse", "The Lighthouse Keeper"
ch3 "Chapter 3", "Chapter 30"

CJK and Latin mixed work fine.

Keyboard

  • / — move selection
  • Enter — open in current tab
  • Esc — dismiss
  • (Some versions: Cmd ⏎ opens in new split; Tab switches search scope)

Result ordering (general tendency)

  • Recently-edited files float to the top
  • Exact-prefix / exact-text wins over fuzzy
  • Files you visit often outrank rarely-visited ones

Slima's internal ranker handles the exact ordering; the above describes observed tendencies.

Related

Was this helpful?