Last active
January 8, 2023 14:10
-
-
Save NicholasAsimov/04f308760f3abdba742f91bdcfcec8c8 to your computer and use it in GitHub Desktop.
Surfingkeys settings
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
/* Keybindings */ | |
api.mapkey(',f', 'Youtube video go fullscreen', function() { | |
document.querySelector('.ytp-fullscreen-button.ytp-button').click() | |
}); | |
// an example to replace `u` with `?`, click `Default mappings` to see how `u` works. | |
//api.map('?', 'u'); | |
api.aceVimMap(';', ':', 'normal'); | |
// Exit Insert mode with <jj> | |
api.aceVimMap('jj', '<Esc>', 'insert'); | |
// an example to remove mapkey `Ctrl-i` | |
//api.unmap('<Ctrl-i>'); | |
/* Settings */ | |
settings.smartPageBoundary = false; | |
settings.focusFirstCandidate = true; | |
settings.scrollStepSize = 100; | |
//settings.interceptedErrors = ["*"]; | |
// click `Save` button to make above settings to take effect. | |
// set theme | |
settings.theme = ` | |
.sk_theme { | |
background: #fff; | |
color: #000; | |
} | |
.sk_theme tbody { | |
color: #000; | |
} | |
.sk_theme input { | |
color: #317ef3; | |
} | |
.sk_theme .url { | |
color: #38f; | |
} | |
.sk_theme .annotation { | |
color: #38f; | |
} | |
.sk_theme .focused { | |
background: #aaa; | |
}`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment