diff --git a/docs/src/content/docs/configuration/keybindings/index.mdx b/docs/src/content/docs/configuration/keybindings/index.mdx index 7d8e588e..a333f88d 100644 --- a/docs/src/content/docs/configuration/keybindings/index.mdx +++ b/docs/src/content/docs/configuration/keybindings/index.mdx @@ -136,6 +136,7 @@ keybindings: | `RepoName` | The full name of the repo (e.g. `dlvhdr/gh-dash`) | | `RepoPath` | The path to the Repo, using the `config.yml` `repoPaths` key to get the mapping | | `IssueNumber` | The issue number | +| `IssueTitle` | The issue title | | `Author` | The username of the issue author | ### Built-in Commands diff --git a/internal/tui/modelUtils.go b/internal/tui/modelUtils.go index 9e2cc741..d8af564e 100644 --- a/internal/tui/modelUtils.go +++ b/internal/tui/modelUtils.go @@ -248,6 +248,7 @@ func (m *Model) runCustomIssueCommand(commandTemplate string, issueData *data.Is &map[string]any{ "RepoName": issueData.GetRepoNameWithOwner(), "IssueNumber": issueData.Number, + "IssueTitle": issueData.Title, "Author": issueData.Author.Login, }, )