The file tree can open files in an editor (o) and copy paths (y) but can't open an item on GitHub. Add an O keybinding that opens the selected file (blob) or directory (tree) at github.com, pinned to the current HEAD.
Acceptance criteria:
O on a file opens its github.com blob URL; on a directory opens the tree URL, both at the current HEAD.
- Uses the origin remote; clear toast when there's no github remote.
- Keybinding registered in the panel, the keybindings manifest, and the help overlay.
- Unit tests cover blob vs tree URL building and the no-remote case.
The file tree can open files in an editor (o) and copy paths (y) but can't open an item on GitHub. Add an
Okeybinding that opens the selected file (blob) or directory (tree) at github.com, pinned to the current HEAD.Acceptance criteria:
Oon a file opens its github.com blob URL; on a directory opens the tree URL, both at the current HEAD.