Skip to content

Commit 2cda508

Browse files
committed
docs: minor fixes
1 parent 067baf1 commit 2cda508

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ require("tinygit").fileHistory()
371371
```
372372

373373
The type of history search depends on the mode `.fileHistory` is called from:
374-
- **Normal mode**: search history for a string (`git log -G`)
374+
- **Normal mode**: search file history for a string (`git log -G`)
375375
* Correctly follows file renamings, and displays past filenames in the
376376
commit selection.
377377
* The search input is case-insensitive and supports regex.
@@ -392,13 +392,6 @@ The type of history search depends on the mode `.fileHistory` is called from:
392392
Note that visual mode detection requires you to use the lua function above
393393
instead of the `:Tinygit` ex-command.
394394

395-
**Keymaps in the diff popup**
396-
- `<Tab>`: show older commit
397-
- `<S-Tab>`: show newer commit
398-
- `yh`: yank the commit hash to the system clipboard
399-
- `R`: restore file to state at commit
400-
- `n`/`N`: go to the next/previous occurrence of the query (only file history)
401-
402395
### Stash
403396
Simple wrappers around `git stash push` and `git stash pop`.
404397

0 commit comments

Comments
 (0)