From 9a1e5e4e000f129117e1d91518d00dbaf1a41699 Mon Sep 17 00:00:00 2001 From: Maddison Hellstrom Date: Wed, 21 Nov 2018 03:03:56 -0800 Subject: [PATCH] tweak(keys): remove leader in gh goParent --- README.md | 4 ++-- keys.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9a3d1b9..8f48db5 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ sites have been included which can help you perform some common actions: <Space>uView User <Space>fView File <Space>iView Issue -<Space>gpGo to parent +gpGo to parent <Space>sToggle Star <Space>SCheck Star <Space>yCopy Project Path @@ -94,7 +94,7 @@ sites have been included which can help you perform some common actions: <Space>AView post (link) (new tab) <Space>cView post (comments) <Space>CView post (comments) (new tab) -<Space>pGo to parent +gpGo to parent producthunt.comMappingDescription <Space>aView product (external) <Space>vView product diff --git a/keys.js b/keys.js index cc64c78..9a70f95 100644 --- a/keys.js +++ b/keys.js @@ -193,6 +193,7 @@ const maps = { callback: actions.gh.openIssue, }, { + leader: "", alias: "gp", description: "Go to parent", callback: actions.gh.goParent, @@ -380,7 +381,8 @@ const maps = { callback: actions.createHint("td > a[href*='item']:not(.storylink)", actions.openAnchor({ newTab: true })), }, { - alias: "p", + leader: "", + alias: "gp", description: "Go to parent", callback: actions.hn.goParent, },