mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 04:45:47 +02:00
Updated Custom Commands Compendium (markdown)
parent
633a45269a
commit
f942b89876
1 changed files with 7 additions and 1 deletions
|
@ -175,11 +175,13 @@ customCommands:
|
||||||
initialValue: ''
|
initialValue: ''
|
||||||
- type: 'input'
|
- type: 'input'
|
||||||
title: 'Email Address'
|
title: 'Email Address'
|
||||||
|
subprocess: yes
|
||||||
|
|
||||||
initialValue: ''
|
initialValue: ''
|
||||||
subprocess: true
|
subprocess: true
|
||||||
```
|
```
|
||||||
|
|
||||||
## "Blame" and "Browse files at revision" via [tig](https://jonas.github.io/tig/)
|
## Blame via [tig](https://jonas.github.io/tig/)
|
||||||
```yml
|
```yml
|
||||||
customCommands:
|
customCommands:
|
||||||
- key: b
|
- key: b
|
||||||
|
@ -197,6 +199,10 @@ customCommands:
|
||||||
context: commitFiles
|
context: commitFiles
|
||||||
description: blame file at tree
|
description: blame file at tree
|
||||||
subprocess: yes
|
subprocess: yes
|
||||||
|
```
|
||||||
|
## Browse files at revision via [tig](https://jonas.github.io/tig/)
|
||||||
|
```yml
|
||||||
|
customCommands:
|
||||||
- key: t
|
- key: t
|
||||||
command: tig show {{.SelectedSubCommit.Sha}}
|
command: tig show {{.SelectedSubCommit.Sha}}
|
||||||
context: subCommits
|
context: subCommits
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue