adds nice git interface
This commit is contained in:
+12
-11
@@ -1,6 +1,6 @@
|
||||
# Search
|
||||
|
||||
Search is a large overlay over the whole window. One query searches the open file, the contents of the project and the file names at the same time.
|
||||
Search covers the whole window, edge to edge, like the [Git view](git.md). One query searches the open file, the contents of the project and the file names at the same time.
|
||||
|
||||
[Guide index](index.md) · Related: [Go to file](go-to-file.md), [File view](file-view.md), [Explorer](explorer.md)
|
||||
|
||||
@@ -9,14 +9,14 @@ Search is a large overlay over the whole window. One query searches the open fil
|
||||
```text
|
||||
+----------------------------------------------------------------------------+
|
||||
| (1) Q handle_ (2) [php][md] (3) 3 here . 39 hits . 2 f |
|
||||
+------------------+-----------------------------------------+---------------+
|
||||
| (4) app.php 3 | (5) PROJECT 39 | (6) FILES 2 |
|
||||
| 12 function han | src/app.php 3 | Handler.php |
|
||||
| 40 $this->handl | 12 function handle() { | src/ |
|
||||
| 88 handle($r); | 40 $this->handle($x); | handle.md * |
|
||||
| | tests/AppTest.php 1 | docs/ |
|
||||
| | 7 ->handle() | |
|
||||
+------------------+-----------------------------------------+---------------+
|
||||
+----------------------+---------------------------------+-------------------+
|
||||
| (4) app.php 3 | (5) PROJECT 39 | (6) FILES 2 |
|
||||
| 12 function handle | src/app.php 3 | Handler.php |
|
||||
| 40 $this->handle( | 12 function handle() { | src/ |
|
||||
| 88 handle($r); | 40 $this->handle($x); | handle.md * |
|
||||
| | tests/AppTest.php 1 | docs/ |
|
||||
| | 7 ->handle() | |
|
||||
+----------------------+---------------------------------+-------------------+
|
||||
| (7) Cmd+Left / Cmd+Right column Cmd+Up / Cmd+Down row Enter open esc |
|
||||
+----------------------------------------------------------------------------+
|
||||
```
|
||||
@@ -34,7 +34,7 @@ Search is a large overlay over the whole window. One query searches the open fil
|
||||
### Opening search
|
||||
- Press `Cmd+F`, or click **Search** in the [title bar](title-bar.md).
|
||||
- With text selected in the file view, the query starts with the first line of that selection.
|
||||
- The overlay fills the window, with a small margin. Click the dimmed area around it to close it.
|
||||
- Search covers the whole window, title bar and status bar included, with no margin. Press `Esc` to close it.
|
||||
|
||||
### Typing
|
||||
- Results update as you type.
|
||||
@@ -47,7 +47,8 @@ Search is a large overlay over the whole window. One query searches the open fil
|
||||
- File names that match on the name come first, before matches that only hit the folder path. Earlier and shorter matches rank higher.
|
||||
|
||||
### The three columns
|
||||
- The focused column is wide. The others shrink to the side. The focused column's title and count turn amber.
|
||||
- The columns keep a fixed width: This file 30 percent, Project 45 percent, Files 25 percent. Without an open file: Project 65 percent, Files 35 percent.
|
||||
- Moving the focus does not change a width. The focused column's title and count turn amber.
|
||||
- Each project file shows its path and its number of hits. Up to 12 hit lines are shown per file; the count still tells the full number.
|
||||
- Each hit line shows its line number and the line, with the match highlighted.
|
||||
- In **Files**, the folder sits below the name. An amber dot marks a file with uncommitted git changes.
|
||||
|
||||
Reference in New Issue
Block a user