Skip to content

Commit f53ccad

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

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ require("tinygit").undoLastCommitOrAmend()
317317
pushIfClean = false }`), the last commit is not undone.
318318

319319
### GitHub interaction
320-
**Search issues & PRs**
320+
**Search issues & PRs**
321321
- Requires `curl`.
322322

323323
```lua
@@ -330,7 +330,7 @@ require("tinygit").issuesAndPrs { type = "all", state = "all" }
330330
require("tinygit").openIssueUnderCursor()
331331
```
332332

333-
**GitHub URL**
333+
**GitHub URL**
334334
Creates a permalink to the current file/lines at GitHub. The link is opened in
335335
the browser and copied to the system clipboard. In normal mode, uses the current
336336
file, in visual mode, uses the selected lines. (Note that visual mode detection
@@ -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)