Skip to content

Commit 3462d1c

Browse files
chrisgriesergithub-actions[bot]
authored andcommitted
chore: auto-generate vimdocs
1 parent 6d6b842 commit 3462d1c

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

doc/nvim-tinygit.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*nvim-tinygit.txt* For Neovim Last change: 2024 December 14
1+
*nvim-tinygit.txt* For Neovim Last change: 2024 December 15
22

33
==============================================================================
44
Table of Contents *nvim-tinygit-table-of-contents*
@@ -31,7 +31,8 @@ FEATURE OVERVIEW *nvim-tinygit-nvim-tinygit-feature-overview*
3131
If there are no staged changes, stages all changes before doing so (`git add -A`). Optionally trigger a `git push` afterward.
3232
- Quick commands for amend, stash, fixup, or undoing commits.
3333
- Search **issues & PRs**. Open the selected issue or PR in the browser.
34-
- Open the **GitHub URL** of the current line or selection.
34+
- Open the **GitHub URL** of the current file, repo, or selection. Also supports
35+
opening the blame view.
3536
- **Explore the git history**Search the file for a string ("git pickaxe"), or
3637
examine the history of a function or line range. Displays the results in a
3738
diff view with syntax highlighting, correctly following file renamings.
@@ -204,15 +205,13 @@ GITHUB INTERACTION ~
204205
<
205206

206207
**GitHub URL** Creates a permalink to the current file/lines at GitHub. The
207-
link is opened in the browser and copied to the system clipboard.
208-
209-
- Normal mode: current file
210-
- Visual mode: selected lines
211-
- Using `"repo"` as argument, will just the repo URL instead
208+
link is opened in the browser and copied to the system clipboard. In normal
209+
mode, uses the current file, in visual mode, uses the selected lines. -
210+
`"file"`code view - `"blame"`blame view - `"repo"`repo root
212211

213212
>lua
214-
-- file|repo (default: file)
215-
require("tinygit").githubUrl("file")
213+
-- file|repo|blame (default: file)
214+
require("tinygit").githubUrl()
216215
<
217216

218217

0 commit comments

Comments
 (0)