From 70329f22cfdcf9a8eb5a36402de18bdeb745db63 Mon Sep 17 00:00:00 2001 From: Alex Gu Date: Sun, 13 Jun 2021 23:36:55 +0300 Subject: [PATCH] Add Ctrl+Enter as alias for `e` --- static/shortcuts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/shortcuts.js b/static/shortcuts.js index 18fc794..3d793d3 100644 --- a/static/shortcuts.js +++ b/static/shortcuts.js @@ -331,7 +331,7 @@ class Shortcut { bindElement('p, Alt+ArrowLeft, Ctrl+Alt+ArrowLeft', '.prevnext__prev', 'Next hypha'); bindElement('n, Alt+ArrowRight, Ctrl+Alt+ArrowRight', '.prevnext__next', 'Previous hypha'); bindElement('s, Alt+ArrowTop, Ctrl+Alt+ArrowTop', $$('.navi-title a').slice(1, -1).slice(-1)[0], 'Parent hypha'); - bindElement('e', '.hypha-tabs__link[href^="/edit/"]', 'Edit this hypha'); + bindElement('e, Ctrl+Enter', '.hypha-tabs__link[href^="/edit/"]', 'Edit this hypha'); globalShortcuts.groupEnd(); let hyphaLinks = $$('article .wikilink');