From 1065096de82ac9dc0c053efcbf78c39cd2e2584d Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 12 Sep 2021 00:16:29 -0700 Subject: refactor --- .config/myconf/surfingkeys_config.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to '.config/myconf/surfingkeys_config.js') diff --git a/.config/myconf/surfingkeys_config.js b/.config/myconf/surfingkeys_config.js index 67a79466..fdf3e2de 100644 --- a/.config/myconf/surfingkeys_config.js +++ b/.config/myconf/surfingkeys_config.js @@ -15,12 +15,16 @@ map('',''); unmap(''); map('',''); unmap(''); -// current surfingkeys version 0.9.74 doesn't contain firenvim integration, wait for author to update + +// on firefox, firenvim default Ctrl-e will be overwirted by github issue hotkey, see: +// https://github.com/glacambre/firenvim/issues/1046 +// https://bugzilla.mozilla.org/show_bug.cgi?id=1713794 +// currently seems no good solution but to use another hotkey, I choose Ctrl+, +// current surfingkeys version 0.9.74 is outdated and doesn't contain firenvim integration, wait for author to update // I tried to run the source code as temp extension in about:debugging or with web-ext cli tool but no luck settings.useNeovim = true; -// disable emoji -iunmap(':'); -// disable all insert mode hotkeys except Ctrl-i + +// disable all insert mode hotkeys except Ctrl-i for future firenvim integration //iunmap(''); iunmap(''); iunmap(''); @@ -30,6 +34,8 @@ iunmap(""); iunmap(''); iunmap(''); iunmap(''); +// disable emoj +iunmap(':'); mapkey('n','Find next then center cursor', function(){ Visual.next(false); -- cgit v1.2.3-70-g09d2