Note: This blog post pertains to upcoming features in Scrivener 3, which will be released on macOS later this year and will follow on Windows during early 2021.
With the rise in popularity of web searching, and similar tools like Spotlight on iOS and macOS, we’ve grown accustomed to the concept of not only finding things by searching, but interestingly so, using that mechanism as a principal means for navigating to things we already know about. You may have seen an article or two demonstrating how Google has for many become a shortcut in getting to other websites without having to key in a URL or find a bookmark for it. And on an iPhone or Mac, how often have you used Spotlight to load an app or document, rather than hunt down its icon so you can double-click or tap on it?
Wherever we find a sea of things flooding the ordinary routes in navigation there seems a clear tendency toward searching as a means of cutting through the data, straight to what we were looking for. Over the years my own use of Scrivener has been shaped by this tendency, even though there was never a dedicated way of doing so. Project search worked, but could be disruptive if the sidebar was already in use for another purpose.
Scrivener 3.0 takes the concept of searching as a form of motion, and puts it at the very top of the application, literally in fact.
If it looks a little bit like a URL bar in a browser, you wouldn’t be far off in that assumption. When not in use, it merely displays where you are, but when you click into it (or use the keyboard shortcut, Ctrl-Opt-G on the Mac and Ctrl-Shift-G on PC), you can type in a bit of the name of the thing you’re looking for and get a list of search results, narrowed down as you type, from anywhere in the project. Arrow down to the precise thing you’re looking for (or if it happens to be the first result you don’t even need to do that), punch the Return key and it will load into the active editor. You can also click straight on the result you want to load.
That right there will be enough for most things you’d need such a feature for, but true to form, we’ve packed a lot of extra capabilities into it. Let’s start with a few simple additions to the Return key or clicking with the mouse:
- With the Shift key the search result loads as a Quick Reference panel. This is the least disruptive way to reference a document, as not a single thing changes in your project window using this route.
- With the Opt/Alt key the result loads in the other editor split, creating one if necessary. That means you can look up reference material while in the middle of typing a word, and once you’ve loaded it in the other split you’ll be able to finish typing that word without missing a beat.
Not a fan of toolbars? We’ve got you covered. When the Quick Search tool isn’t available the keyboard shortcut will bring up a floating search tool that provides all of the above and dismisses itself cleanly when you hit Return, Esc or click on a result. Just like Spotlight.
Bring Out the Mouse
Searching isn’t solely about reading or editing things. Often we search with the intention of doing something with the things we find. To that end, every entry in the search result list can be dragged and dropped—and doing so will be just like dragging and dropping that item from the binder. Turns out you can do an awful lot with a mere search result!
Working counter-clockwise through the thicket of arrows above:
- Assign the selected document to a collection by dragging it onto a tab in the collection tab list, or right to the correct spot if the collection is open in the sidebar, corkboard or outliner.
- Drop into the binder, corkboard or outliner to move the document to the dragged location. This even works with the new label view, discussed by Jennifer in an earlier post. Yes, you can move a search result and label it in one move.
- Or with the Alt/Opt key held down: copy it somewhere else (an optional capability).
- Drag into the text editor to create a link to it. (Or if it is an image, to place the image, which I just did a few seconds ago, above.)
- Or with the Alt/Opt key, paste the contents of it into the editor. (Great for making little starter chunks of text, like tables you’ve already formatted. Rather than making one from scratch, look up your boilerplate and drop it in.)
- Bookmark it, either as a project bookmark or to the document you are editing. You can even drag it to the Bookmark toolbar icon to make it a project bookmark without any further ado.
- Drop onto any header bar to load it there. We’ll be talking about another thing you can do when dropping items on header bars with the Opt/Alt key later on. I’d mention it now, but no spoilers!
- Drop on the Quick Ref icon in the toolbar to load it as Quick Reference window. (This one doesn’t have an arrow.)
You may also note, if you squint at screenshots like I do, that we don’t stop at titles. Nearly the entire project is scoured for the text you typed in, so if you don’t quite remember the name of a thing, you might still find it via a snippet of text, or a note you jotted down on an index card. If all else fails you can click the “Full Project Search” button at the bottom, and witness the firepower of this fully armed and operational battle… wait, that’s the wrong speech.
Keeping Tabs Without the Clutter
As we looked at other similar tools, like Safari’s URL bar, we noticed more was being done with them than purely giving you a place to type or reference which site you’re on:
We liked the way Safari drew progress bars enough to use the idea for showing your overall progress on the draft target, along with your daily session target. So not only does Quick Search, well, search, it also functions as an embedded and steady monitor of your writing progress (should you set goals). The design fulfils a longstanding request we’ve had to embed this information somewhere readily available in the main window. Now instead of having to leave that Project Targets panel open all day, you can keep an eye on how the word counts are coming along with a low-key progress bar, right above where you type.[1]
You can also mouse over the tool to get a numerical read-out of the draft and session word count, and leave the mouse there to keep that information up instead of the name of the thing you’re editing.
Don’t worry, if you’d rather be kept in the dark while you write, you can turn this display off in settings. And you can change the colours too. This is Scrivener after all.
All told Quick Search (and Writing Progress) is a simple tool, but with enough flexibility to it that it has rapidly became an indispensable ingredient in how I locate, organise, compose and assemble text on the fly. And it is just one of the many ways we’ve thought about navigation and workflow in Scrivener. We’ll have more to discuss along those lines in a future article.
- The floating window is still there if you want it, and remains what you’ll use to set targets and thus activate this part of the feature. ↩