[source:feat] add bindings
This commit is contained in:
parent
cb8b301bff
commit
3ece5e1366
33
keys.js
33
keys.js
|
@ -28,6 +28,12 @@ const maps = {
|
|||
category: categories.mouseClick,
|
||||
description: "Open a link in non-active new tab",
|
||||
},
|
||||
{
|
||||
alias: "zf",
|
||||
category: categories.mouseClick,
|
||||
description: "Open link URL in vim editor",
|
||||
callback: actions.previewLink,
|
||||
},
|
||||
{
|
||||
alias: "w",
|
||||
map: "k",
|
||||
|
@ -117,6 +123,12 @@ const maps = {
|
|||
description: "Show Archive.org Wayback Machine for page",
|
||||
callback: actions.showWayback(),
|
||||
},
|
||||
{
|
||||
alias: "=o",
|
||||
category: categories.misc,
|
||||
description: "Show outline.com version of page",
|
||||
callback: actions.showOutline(),
|
||||
},
|
||||
{
|
||||
alias: ";pd",
|
||||
category: categories.misc,
|
||||
|
@ -163,6 +175,13 @@ const maps = {
|
|||
},
|
||||
],
|
||||
|
||||
"algolia.com": [
|
||||
{
|
||||
alias: "a",
|
||||
description: "Open search result",
|
||||
callback: actions.createHint(".item-main h2>a:first-child"),
|
||||
},
|
||||
],
|
||||
|
||||
"duckduckgo.com": [
|
||||
{
|
||||
|
@ -259,10 +278,10 @@ const maps = {
|
|||
description: "View Pull Request",
|
||||
callback: actions.gh.openPull,
|
||||
},
|
||||
{
|
||||
{ // TODO: Add repetition support: 3gu
|
||||
leader: "",
|
||||
alias: "gp",
|
||||
description: "Go to parent",
|
||||
alias: "gu",
|
||||
description: "Go up one path in the URL (GitHub)",
|
||||
callback: actions.gh.goParent,
|
||||
},
|
||||
{
|
||||
|
@ -572,6 +591,14 @@ const maps = {
|
|||
},
|
||||
],
|
||||
|
||||
"craigslist.org": [
|
||||
{
|
||||
alias: "a",
|
||||
description: "View listing",
|
||||
callback: actions.createHint("a.result-title"),
|
||||
},
|
||||
],
|
||||
|
||||
"stackoverflow.com": [
|
||||
{
|
||||
alias: "a",
|
||||
|
|
Loading…
Reference in New Issue