Next: , Up: Working with Topics   [Contents][Index]


4.3.1 Visiting Topics

Magit’s status buffer contains lists of issues and pull-requests. Topics are ordered by last modification time. All open issues and some recently edited and closed topics are listed.

Forge provides some commands that act on the listed topics. These commands can also be used in other contexts, such as when point is on a commit or branch section.

C-c C-w     (forge-browse-TYPE)
C-c C-w     (forge-browse-dwim)

These commands visit the pull-request(s), issue(s), post, branch, commit, or remote at point in a browser.

This is implemented using various commands named forge-browse-TYPE, and the key binding is defined by remapping magit-browse-thing (as defined in magit-mode-map). For commit sections this key is bound to forge-browse-dwim, which prefers a topic over a branch and a branch over a commit.

RET     (forge-visit-TYPE)
C-c C-v     (forge-visit-topic)

These commands visit the pull-request(s), issue(s), or repository in a separate buffer.

The RET binding is only available when point is on a issue or pull-request section because that key is already bound to something else for most of Magit’s own sections. C-c C-v however is also available on regular commit (e.g. in a log) and branch sections.

This is implemented using various commands named forge-visit-TYPE and the key binding is defined by remapping magit-visit-thing (as defined in magit-mode-map).