diff --git a/tools/browser/surfingkeys.js b/tools/browser/surfingkeys.js index 8f9cc38..210521e 100644 --- a/tools/browser/surfingkeys.js +++ b/tools/browser/surfingkeys.js @@ -473,6 +473,16 @@ mapkey(",S", "Open Source in GitHub (New Page)", function () { }, { domain: /raw.githubusercontent.com/ }); // #endregion GitHub +//#region app.microsoft.com +// https://apps.microsoft.com/detail/9nl6kd1h33v3?hl=en-GB&gl=GB +// This is useful in `winget` (Windows Package Manager) +mapkey(",y", "[y]ank app id", function () { + const url = new URL(window.location.href); + const id = url.pathname.split("/")[2]; + Clipboard.write(id); +}, { domain: /apps.microsoft.com/ }); + + // #region perplexity.ai /** * 0 - 网络 diff --git a/tools/nvim/lua/plugins/misc.lua b/tools/nvim/lua/plugins/misc.lua index fdef0a7..7fd05f2 100644 --- a/tools/nvim/lua/plugins/misc.lua +++ b/tools/nvim/lua/plugins/misc.lua @@ -9,7 +9,7 @@ return { } }, { "CRAG666/code_runner.nvim", config = true }, - -- { import = "plugins.mod.obsidian-nvim" }, + { import = "plugins.mod.obsidian-nvim" }, { import = "plugins.mod.which-keys-nvim" }, { "zbirenbaum/copilot.lua", diff --git a/tools/yazi/.gitignore b/tools/yazi/.gitignore index aaa32d8..f620457 100644 --- a/tools/yazi/.gitignore +++ b/tools/yazi/.gitignore @@ -1,2 +1,4 @@ flavors/ plugins/ + +package.toml diff --git a/tools/yazi/package.toml b/tools/yazi/package.toml deleted file mode 100644 index 86a6e49..0000000 --- a/tools/yazi/package.toml +++ /dev/null @@ -1,29 +0,0 @@ -[[plugin.deps]] -use = "dawsers/dual-pane" -rev = "c2fed12" -hash = "" - -[[plugin.deps]] -use = "Rolv-Apneseth/starship" -rev = "d1cd0a3" -hash = "" - -[[plugin.deps]] -use = "llanosrocas/yaziline" -rev = "864572c" -hash = "" - -[[flavor.deps]] -use = "yazi-rs/flavors:catppuccin-mocha" -rev = "fd85060" -hash = "" - -[[flavor.deps]] -use = "yazi-rs/flavors:catppuccin-latte" -rev = "fd85060" -hash = "" - -[[flavor.deps]] -use = "dangooddd/kanagawa" -rev = "d98f0c3" -hash = ""