Nota:
The new tabbed interface is currently in versión preliminar pública and is subject to change.
An interactive CLI de Copilot session has four tabs at the top of the screen:
- Session: The regular chat experience where you enter prompts for Copilot.
- Issues: Open issues in the current repository on GitHub.
- Pull requests: Open pull requests in the current repository on GitHub.
- Gists: Your gists on GitHub.
The Issues, Pull requests, and Gists tabs let you browse content from GitHub.com without having to switch to a browser. This is useful when you want to:
- Find an issue or pull request to work on.
- Pull an item into your chat — quickly insert a reference to the selected item into the prompt box so that you can ask Copilot to investigate, fix, comment on, or review it.
- Jump to an item on GitHub.com — for example when you want to comment on an issue, merge a pull request, or edit a gist.
Switching between tabs
- Press Tab to move to the next tab.
- Press Shift+Tab to move to the previous tab.
Tab switching is paused while another part of the CLI—such as the slash command picker—is observing your keystrokes.
Nota:
The Issues and Pull requests tabs are only shown when CLI de Copilot is running inside a GitHub repository. In other directories, only the Session and Gists tabs are shown.
Common keyboard controls
The Issues, Pull requests, and Gists tabs all use the same controls. Regardless of which of these tabs you're on:
- Use the up and down arrow keys to highlight an item in the list.
- Use the left and right arrow keys to navigate between pages in a list.
- Press Enter to display a detailed view of the highlighted item. Press Esc in the details view to return to the list.
- Press o to open the highlighted item (or, in the detailed view, the current item) on GitHub.com.
- Press c to insert a reference to the item into the prompt input area and jump back to the Session tab.
For the full set of keypresses you can use, see Keyboard reference at the end of this article.
Browsing issues
The Issues tab lists the open issues in the current repository that involve you—issues you authored, were assigned, were mentioned in, or commented on. Each row shows the issue title, the issue number, the author, and how long ago the issue was opened.
The GitHub search query used to populate the list is shown above it. Press a to toggle between showing only issues that involve you and showing every open issue in the repository.
Pressing c inserts a reference to the issue into the prompt box on the Session tab. You can then enter a prompt that relates to this issue. For example:
#1234 suggest a fix for this bug
Browsing pull requests
The Pull requests tab lists the open pull requests in the current repository that involve you—pull requests you authored, were assigned, were mentioned in, were asked to review, or commented on. Each row shows the pull request title, number, author, and how long ago the pull request was opened.
The GitHub search query used to populate the list is shown above it. Press a to toggle between showing only pull requests that involve you and showing every open pull request in the repository.
Pressing c inserts a reference to the pull request into the prompt box on the Session tab. You can then enter a prompt that relates to this pull request. For example:
#5678 check this out and run tests
Browsing your gists
The Gists tab lists the gists owned by the GitHub account you are signed in to. Both public and secret gists are shown. Unlike the Issues and Pull requests tabs, the Gists tab is not scoped to a repository—it is always available, regardless of where you started the CLI.
Pressing c inserts the gist's URL into the prompt box on the Session tab. You can then enter a prompt that relates to this gist. For example:
https://gist.github.com/USERNAME/GIST-ID summarize this
Modifying issues, pull requests, and gists
The Issues, Pull requests, and Gists tabs are read-only environments. There are two ways you can work on an item you find in one of these tabs:
-
Press o to open it on GitHub.com and use the web UI to modify the item.
-
Press c to drop a reference into the prompt box and ask Copilot to perform the activity for you. For example:
#1234 add a comment: "Any update on this?"#5678 merge thishttps://gist.github.com/USERNAME/GIST-ID delete this
Keyboard reference
The footer hint bar in the Issues, Pull requests, and Gists tabs summarizes the available keys:
| Key | Where | Action |
|---|---|---|
| Tab / Shift+Tab | Any home tab | Switch to the next or previous home tab. |
| ↓ / ↑ j / k | List view | Highlight the next or previous item in a list. |
| → / ← l / h | List view | Display the next or previous page in a multi-page list. |
| Enter | List view | Open the details view for the highlighted item. |
| o | List view or details view | Open the highlighted item on GitHub.com in your browser. |
| c | List view or details view | Insert a reference to the item into the prompt input area and jump back to the Session tab. |
| a | List view on Issues and Pull requests tabs | Toggle between showing only items that involve you and showing every open item in the repository. |
| Esc | Details view | Return to the list view. |