mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-01-08 02:40:26 +00:00
Add Ctrl+Enter as alias for e
This commit is contained in:
parent
14bdf39107
commit
70329f22cf
@ -331,7 +331,7 @@ class Shortcut {
|
|||||||
bindElement('p, Alt+ArrowLeft, Ctrl+Alt+ArrowLeft', '.prevnext__prev', 'Next hypha');
|
bindElement('p, Alt+ArrowLeft, Ctrl+Alt+ArrowLeft', '.prevnext__prev', 'Next hypha');
|
||||||
bindElement('n, Alt+ArrowRight, Ctrl+Alt+ArrowRight', '.prevnext__next', 'Previous 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('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();
|
globalShortcuts.groupEnd();
|
||||||
|
|
||||||
let hyphaLinks = $$('article .wikilink');
|
let hyphaLinks = $$('article .wikilink');
|
||||||
|
Loading…
Reference in New Issue
Block a user