mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
zed initial setup
This commit is contained in:
parent
da0cc1d6e8
commit
56faf63bd2
5 changed files with 66 additions and 6 deletions
|
|
@ -425,6 +425,12 @@ mapkey(",p", "Switch to GitHub Page", function () {
|
|||
repo = href.split("/")[4];
|
||||
window.location.href = gh.pageLink(owner, repo);
|
||||
}, { domain: /github.com/ });
|
||||
mapkey(",r", "Copy short [r]efeference owner/repo", function () {
|
||||
const href = window.location.href;
|
||||
owner = href.split("/")[3];
|
||||
repo = href.split("/")[4];
|
||||
Clipboard.write(`${owner}/${repo}`);
|
||||
}, { domain: /github.com/ });
|
||||
// github.dev
|
||||
mapkey(",r", "Switch to GitHub Repo", function () {
|
||||
const url = new URL(window.location.href);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue