Last active
December 14, 2024 17:25
-
-
Save cdpath/0045a3f28cfd477af3129d1ff5e0c6fe to your computer and use it in GitHub Desktop.
surfingkeys_conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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