Skip to content

Instantly share code, notes, and snippets.

@atalazer
Created October 16, 2021 08:04
Show Gist options
  • Save atalazer/88d5492bd6aeaf09270f1b1f083a12f7 to your computer and use it in GitHub Desktop.
Save atalazer/88d5492bd6aeaf09270f1b1f083a12f7 to your computer and use it in GitHub Desktop.
My vim-vixen (Vim Keybindings Firefox Add-on) configurations
{
"keymaps": {
"0": { "type": "scroll.home" },
":": { "type": "command.show" },
"o": { "type": "command.show.open", "alter": false },
"O": { "type": "command.show.open", "alter": true },
"t": { "type": "command.show.tabopen", "alter": false },
"T": { "type": "command.show.tabopen", "alter": true },
"w": { "type": "command.show.winopen", "alter": false },
"W": { "type": "command.show.winopen", "alter": true },
"b": { "type": "command.show.buffer" },
"a": { "type": "command.show.addbookmark", "alter": true },
"k": { "type": "scroll.vertically", "count": -1 },
"j": { "type": "scroll.vertically", "count": 1 },
"h": { "type": "scroll.horizonally", "count": -1 },
"l": { "type": "scroll.horizonally", "count": 1 },
"<C-U>": { "type": "scroll.pages", "count": -0.5 },
"<C-D>": { "type": "scroll.pages", "count": 0.5 },
"<C-B>": { "type": "scroll.pages", "count": -1 },
"<C-F>": { "type": "scroll.pages", "count": 1 },
"gg": { "type": "scroll.top" },
"G": { "type": "scroll.bottom" },
"$": { "type": "scroll.end" },
"d": { "type": "tabs.close" },
"D": { "type": "tabs.close", "select": "left" },
"x$": { "type": "tabs.close.right" },
"!d": { "type": "tabs.close.force" },
"u": { "type": "tabs.reopen" },
"K": { "type": "tabs.prev" },
"J": { "type": "tabs.next" },
"gT": { "type": "tabs.prev" },
"gt": { "type": "tabs.next" },
"g0": { "type": "tabs.first" },
"g$": { "type": "tabs.last" },
"<C-6>": { "type": "tabs.prevsel" },
"r": { "type": "tabs.reload", "cache": false },
"R": { "type": "tabs.reload", "cache": true },
"zp": { "type": "tabs.pin.toggle" },
"zd": { "type": "tabs.duplicate" },
"zi": { "type": "zoom.in" },
"zo": { "type": "zoom.out" },
"zz": { "type": "zoom.neutral" },
"f": { "type": "follow.start", "newTab": false },
"F": { "type": "follow.start", "newTab": true, "background": false },
"m": { "type": "mark.set.prefix" },
"'": { "type": "mark.jump.prefix" },
"H": { "type": "navigate.history.prev" },
"L": { "type": "navigate.history.next" },
"[[": { "type": "navigate.link.prev" },
"]]": { "type": "navigate.link.next" },
"gu": { "type": "navigate.parent" },
"gU": { "type": "navigate.root" },
"gi": { "type": "focus.input" },
"gf": { "type": "page.source" },
"gh": { "type": "page.home" },
"gH": { "type": "page.home", "newTab": true },
"gr": { "type": "tabs.reader.toggle" },
"y": { "type": "urls.yank" },
"p": { "type": "urls.paste", "newTab": false },
"P": { "type": "urls.paste", "newTab": true },
"/": { "type": "find.start" },
"n": { "type": "find.next" },
"N": { "type": "find.prev" },
".": { "type": "repeat.last" },
"<S-Esc>": { "type": "addon.toggle.enabled" }
},
"search": {
"default": "g",
"engines": {
"d": "https://duckduckgo.com/?q={}",
"g": "https://www.google.com/search?hl=en&q={}",
"w": "https://en.wikipedia.org/w/index.php?search={}",
"r": "https://www.reddit.com/search/?q={}",
"au": "https://aur.archlinux.org/packages/?O=0&K={}",
"aw": "https://wiki.archlinux.org/?search={}",
"gh": "https://github.com/search?q={}",
"js": "https://www.npmjs.com/search?q={}",
"py": "https://pypi.org/search/?q={}",
"np": "https://search.nixos.org/packages?channel=unstable&query={}",
"yt": "https://www.youtube.com/results?search_query={}"
}
},
"properties": {
"hintchars": "asdfhjkl",
"smoothscroll": true,
"complete": "sbh",
"colorscheme": "system"
},
"blacklist": [
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment