Plugin for Yazi to open git repos's remote url quickly with a shortcut.
Jump to the code host page from yazi!
Inspired by Sylvan Franklin
- Git
- A web browser
- A browser opener:
open(macOS)xdg-open(Linux)start(Windows/Git Bash)wslview(WSL)
ya pkg add larry-oates/open-git-remote
Linux/macOS
git clone https://github.com/larry-oates/open-git-remote.yazi.git ~/.config/yazi/plugins/open-git-remote.yazi
Windows
git clone https://github.com/larry-oates/open-git-remote.yazi.git %AppData%\yazi\config\plugins\open-git-remote.yazi
add this to your keymap.toml file:
[[mgr.prepend_keymap]]
on = [ "g", "l" ]
run = "plugin open-git-remote"
desc = "open git remote url"I use g then l for "Git Link" but you can customize the keybinding however you like. Please refer to the keymap.toml documentation