Search every document (stage 9d)
<Space>/ (the user's pick), or :search text straight to the best match, searches every document cumulus knows of: the open ones (the shown one first), the ones opened lately, the .cum files in this document's folder, and every document their portals and backlinks lead to, however far (the user's pick; up to 200). Open documents are searched as they are, the others as their files have them. It's the / popup with a list of documents to search: one list, best first whatever the document, each match with its document's name at the end of its row (the user's pick), the note beside it from that document. Enter goes to the match through the jump list's GoToPlace, opening a closed document. n and N then go through every match, document to document (the user's pick), going round. The matches are kept in the last search as they were, as vim's :cnext goes through a :vimgrep list: searched again from each document, equal matches would trade places and n would bounce between two. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
9d15a054f2
commit
893edbda9f
15 files changed
+438
-52
No files matched your search
+1
-1
@@ -105,7 +105,7 @@ pub struct App {
|
||||
/// `.` is making a change again: it isn't recorded again.
|
||||
repeating: bool,
|
||||
/// The last search, for `n` and `N`.
|
||||
last_search: Option<String>,
|
||||
last_search: Option<search::LastSearch>,
|
||||
screen: Screen,
|
||||
/// The pane a mouse drag started in: it gets the whole drag.
|
||||
dragging: Option<PaneId>,
|
||||
|
||||
Reference in new issue
Block a user