summaryrefslogtreecommitdiff
path: root/home/xyz/.config/myconf/surfingkeys_config.js
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-01-28 12:59:30 -0800
committerxyz <gky44px1999@gmail.com>2022-01-28 12:59:30 -0800
commitdb020ab362729576b8bc2282beb9d2745ef76a9b (patch)
treeb5bb78d01bd4ca247de525c6603aa51a3aa8358b /home/xyz/.config/myconf/surfingkeys_config.js
parent7f24ff43a3e561f99558c03dd180548bebe38475 (diff)
surfingkeys migrate to 1.0
Diffstat (limited to 'home/xyz/.config/myconf/surfingkeys_config.js')
-rw-r--r--home/xyz/.config/myconf/surfingkeys_config.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/home/xyz/.config/myconf/surfingkeys_config.js b/home/xyz/.config/myconf/surfingkeys_config.js
index 43316ffa..1a5912e3 100644
--- a/home/xyz/.config/myconf/surfingkeys_config.js
+++ b/home/xyz/.config/myconf/surfingkeys_config.js
@@ -1,3 +1,26 @@
+// https://github.com/brookhong/Surfingkeys/wiki/Migrate-your-settings-from-0.9.74-to-1.0
+const {
+ aceVimMap,
+ mapkey,
+ imap,
+ imapkey,
+ getClickableElements,
+ vmapkey,
+ map,
+ unmap,
+ vunmap,
+ cmap,
+ addSearchAlias,
+ removeSearchAlias,
+ tabOpenLink,
+ readText,
+ Clipboard,
+ Front,
+ Hints,
+ Visual,
+ RUNTIME
+} = api;
+
// old example config, may not work. also, I change ctrl-y to Ctrl-y
// an example to create a new mapping `ctrl-y`
//mapkey('<Ctrl-y>', 'Show me the money', function() {