mirror of
https://github.com/narrrl/narl-workspace.git
synced 2026-11-04 00:47:01 +01:00
search: Esc on the line gives it up, Esc in the list lets go of it
Typing after / only tries a search: Esc, or back, puts the list back as it was before the line opened, and only Enter keeps the results. In the list, Esc lets go of one thing at a time, so after the document it clears the search, with the cursor kept on the row it was on; back on a phone does the same before going up a folder. A late answer to an older search no longer lands over a newer one, and closing the last document puts the folder back in the address bar.
This commit is contained in:
1 parent
a27d5de9c7
commit
4542b9692e
9 files changed
+60
-16
No files matched your search
@@ -51,9 +51,9 @@ arguments and `↑` / `↓` recall earlier lines.
|
||||
| `Ctrl-P` | go to anything by its name, in every space — words before the last narrow the path, as in proj/ingest; Tab or Ctrl-N/P walk, Enter goes |
|
||||
| `b` | the board, on the plan screen: this space's, or the last one shown — 1 … 9 there shows another's |
|
||||
| `c` | capture a card into this space's inbox, without leaving here — reading a document, a card about it; Tab on the line makes it a note, or a line in today's entry |
|
||||
| `Esc · q` | close the document, and its tile when there are several — Esc first puts down what m picked up |
|
||||
| `/` | full-text search, inside the current space and its text files — Tab takes it to every space, Ctrl-N/P walk the results, Enter opens one |
|
||||
| `n / N` | next / previous search result, opened beside the results — :noh clears the search |
|
||||
| `Esc · q` | close the document, and its tile when there are several — Esc first puts down what m picked up, and in the list lets go of a search |
|
||||
| `/` | full-text search, inside the current space and its text files — Tab takes it to every space, Ctrl-N/P walk the results, Enter opens one, Esc gives up |
|
||||
| `n / N` | next / previous search result, opened beside the results — Esc or :noh clears the search |
|
||||
| `x · dd` | delete what has focus — the row in the list, the document in its pane — into the trash (asks y/N) |
|
||||
| `u` | undo the last delete: it comes back out of the trash — :trash has the rest |
|
||||
| `gh` | the open document's earlier versions, as diffs — Enter brings one back |
|
||||
|
||||
@@ -58,8 +58,10 @@ space, and back (`:search!` does the same from the command line).
|
||||
|
||||
Results appear as you type, ranked by relevance, each with the space and
|
||||
folder it is in. `Ctrl-N` / `Ctrl-P` walk them without leaving the
|
||||
line, and `Enter` opens the one lit. Afterwards `n` and `N` open the next and
|
||||
previous result beside the list, and `:noh` clears the search.
|
||||
line, and `Enter` opens the one lit and keeps the results in the list. `Esc`
|
||||
on the line gives the search up, and the list is as it was before `/`.
|
||||
Afterwards `n` and `N` open the next and previous result beside the list, and
|
||||
`Esc` in the list (or `:noh`, or back on a phone) clears the search.
|
||||
|
||||
Cards are searched too, by their title, description and checklist steps. They
|
||||
are listed after the documents, under `cards`, with the board and list each is
|
||||
|
||||
Reference in new issue
Block a user