Skip to content

Instantly share code, notes, and snippets.

@amaya382
Last active August 17, 2022 15:45
Show Gist options
  • Save amaya382/59e2f73c685dc413ed1856c4c166c01c to your computer and use it in GitHub Desktop.
Save amaya382/59e2f73c685dc413ed1856c4c166c01c to your computer and use it in GitHub Desktop.
surfingkeys.js
const {
aceVimMap,
mapkey,
imap,
imapkey,
getClickableElements,
vmapkey,
map,
unmap,
iunmap,
cmap,
addSearchAlias,
removeSearchAlias,
tabOpenLink,
readText,
Clipboard,
Front,
Hints,
Visual,
RUNTIME
} = api;
unmap('x');
unmap('r');
unmap('ZQ');
unmap('gx0');
unmap('gxt');
unmap('gxT');
unmap('gx$');
unmap('ss');
unmap('.');
settings.scrollStepSize = 150;
iunmap(":", /slack\.com|tweetdeck\.twitter\.com/);
settings.blocklistPattern = /(docs\.google\.com)|(blog\.hatena\.ne\.jp\/amaya382\/amaya382\.hatenablog.jp\/edit)|(www\.pokesol\.com)|(www\.overleaf\.com)|(act\.hoyoverse\.com)/i;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment