Skip to content

v3.1.0 - keybindings support, repo paths ⌨️

Compare
Choose a tag to compare
@github-actions github-actions released this 15 May 11:28
· 198 commits to main since this release
67f77e8

Keybindings for PRs

Run any bash command using Go Templates to embed the current PR data.
Example of opening Neovim and VSCode for PR review:

keybindings:
  prs:
    - key: c
      command: >
        tmux new-window -c {{.RepoPath}} '
          gh pr checkout {{.PrNumber}} &&
          nvim -c ":DiffviewOpen master...{{.HeadRefName}}"
        '
    - key: v
      command: >
        cd {{.RepoPath}} &&
        code . &&
        gh pr checkout {{.PrNumber}}

Repo paths

Specify where each repo is located on disk for use with keybindings:
Access using the {{.RepoPath}} template string.

repoPaths:
  dlvhdr/gh-dash: ~/code/gh-dash