mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
Updated Custom Commands Compendium (markdown)
parent
7c05918a64
commit
47425332df
1 changed files with 14 additions and 0 deletions
|
@ -224,4 +224,18 @@ customCommands:
|
|||
context: remoteBranches
|
||||
description: tig branch (`t` again to browse files at revision)
|
||||
subprocess: yes
|
||||
```
|
||||
## File history via [tig](https://jonas.github.io/tig/)
|
||||
```yml
|
||||
customCommands:
|
||||
- key: t
|
||||
command: tig {{.SelectedSubCommit.Sha}} -- {{.SelectedCommitFile.Name}}
|
||||
context: commitFiles
|
||||
description: tig file (history of commits affecting file)
|
||||
subprocess: yes
|
||||
- key: t
|
||||
command: tig -- {{.SelectedFile.Name}}
|
||||
context: files
|
||||
description: tig file (history of commits affecting file)
|
||||
subprocess: yes
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue