Updated Custom Commands Compendium (markdown)

NikolayHD 2022-03-22 15:14:55 +03:00
parent 7c05918a64
commit 47425332df

@ -225,3 +225,17 @@ customCommands:
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
```