Skip to content

Instantly share code, notes, and snippets.

@cdpath
Last active December 14, 2024 17:25
Show Gist options
  • Save cdpath/0045a3f28cfd477af3129d1ff5e0c6fe to your computer and use it in GitHub Desktop.
Save cdpath/0045a3f28cfd477af3129d1ff5e0c6fe to your computer and use it in GitHub Desktop.
surfingkeys_conf
// https://gist.github.com/cdpath/0045a3f28cfd477af3129d1ff5e0c6fe
const {
aceVimMap,
mapkey,
imap,
imapkey,
insertJS,
getClickableElements,
vmapkey,
map,
unmap,
iunmap,
cmap,
addSearchAlias,
removeSearchAlias,
tabOpenLink,
readText,
Clipboard,
Front,
Hints,
Visual,
RUNTIME,
} = api;
// unmap('w');
// unmap('e');
unmap('t');
unmap('T');
unmap('<Cmd-l>');
unmap('<Cmd-r>');
iunmap('<Ctrl-f>');
iunmap('<Ctrl-e>');
map('w', 'E');
map('e', 'R');
// map('d', 'x');
map('u', 'X');
settings.scrollStepSize = 200;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment