@@ -82,7 +82,7 @@ Bundle of commands focused on swift and streamlined git operations.
82
82
[ telescope.nvim] ( https://github.com/nvim-telescope/telescope.nvim ) (PRs
83
83
adding support for other pickers are welcome.)
84
84
- For GitHub-related commands: ` curl `
85
- - * Recommended* : Treesitter parser for syntax highlighting: `TSInstall
85
+ - * Recommended* : Treesitter parser for syntax highlighting `TSInstall
86
86
gitcommit`.
87
87
88
88
``` lua
@@ -207,18 +207,18 @@ require("tinygit").setup {
207
207
```
208
208
209
209
## Commands
210
- All commands are available via lua function or sub-command of ` :Tinygit ` , for
211
- example ` require("tinygit").interactiveStaging() ` and `: Tinygit
212
- interactiveStaging`. However, do note that the lua function is preferable,
213
- since the ` :Tinygit ` does not accept command-specific options and does not
214
- trigger visual-mode specific changes to the commands .
210
+ All commands are available as lua function or as sub-command of ` :Tinygit ` ,
211
+ for example ` require("tinygit").interactiveStaging() ` and `: Tinygit
212
+ interactiveStaging`. Note that the lua function is preferable,
213
+ since ` :Tinygit ` does not accept command-specific options and does not
214
+ trigger visual-mode specific changes.
215
215
216
216
### Interactive staging
217
217
- Interactive straging requires ` telescope ` . (PRs adding support for other
218
218
pickers welcome.)
219
219
- This command stages hunks, that is, * parts* of a file instead of the full
220
220
file. It is roughly comparable to ` git add -p ` .
221
- - Use ` <Space> ` to (un)stage the hunk, ` <CR> ` to go to the hunk, or ` <C-r ` to
221
+ - Use ` <Space> ` to (un)stage the hunk, ` <CR> ` to go to the hunk, or ` <C-r> ` to
222
222
reset the hunk (mappings customizable). Your regular ` telescope ` mappings also
223
223
apply.
224
224
- The size of the hunks is determined by the setting ` staging.contextSize ` .
0 commit comments