this repo has no description

.config/glide: update

+20 -18
+20 -18
private_dot_config/glide/glide.ts
··· 1 1 glide.prefs.set("toolkit.legacyUserProfileCustomizations.stylesheets", true); 2 2 glide.prefs.set("devtools.debugger.prompt-connection", false); 3 - glide.prefs.set( 4 - "media.videocontrols.picture-in-picture.audio-toggle.enabled", 5 - true, 6 - ); 3 + glide.prefs.set("media.videocontrols.picture-in-picture.audio-toggle.enabled", true); 7 4 glide.prefs.set("browser.tabs.insertAfterCurrent", false); 8 5 glide.prefs.set("browser.tabs.insertRelatedAfterCurrent", false); 6 + glide.prefs.set("browser.uidensity", 1); 7 + glide.prefs.set("browser.startup.page", 3); 8 + glide.prefs.set("browser.warnOnQuitShortcut", false); 9 9 10 - glide.keymaps.set( 11 - "normal", 12 - "o", 13 - async () => { 14 - await glide.keys.send("<D-l>"); 15 - }, 16 - { description: "Focus the address bar" }, 17 - ); 10 + glide.g.mapleader = "\\"; 11 + glide.o.hint_size = "16px"; 12 + 13 + glide.keymaps.set("normal", "o", "keys <D-l>", { 14 + description: "Focus the address bar", 15 + }); 16 + 17 + glide.keymaps.set("normal", "<S-j>", "tab_next", { 18 + description: "Scroll down", 19 + }); 20 + 21 + glide.keymaps.set("normal", "<S-k>", "tab_prev", { 22 + description: "Scroll down", 23 + }); 18 24 19 25 glide.keymaps.set( 20 26 "normal", 21 27 "<S-o>", 22 28 async ({ tab_id }) => { 23 - await browser.tabs.create({ 24 - active: true, 25 - openerTabId: tab_id, 26 - }); 29 + await browser.tabs.create({ active: true, openerTabId: tab_id }); 27 30 await glide.keys.send("<D-l>"); 28 31 }, 29 32 { description: "Open a new tab and focus the address bar" }, ··· 57 60 glide.autocmds.create("UrlEnter", /https:\/\/github\.com\/.*\/.*/, () => { 58 61 glide.buf.keymaps.set("normal", "<C-g>p", async ({ tab_id }) => { 59 62 const path = glide.ctx.url.pathname; 60 - const { org, repo } = 61 - path.match(/^\/(?<org>[^/]+)\/(?<repo>[^/]+)/)?.groups ?? {}; 63 + const { org, repo } = path.match(/^\/(?<org>[^/]+)\/(?<repo>[^/]+)/)?.groups ?? {}; 62 64 63 65 const pkggodev_url = `https://pkg.go.dev/github.com/${org}/${repo}`; 64 66 await browser.tabs.create({