Skip to content

Instantly share code, notes, and snippets.

@snippins
Last active April 25, 2024 16:36
Show Gist options
  • Save snippins/3e2c1500fa1a87a8e37a16b8a87a8680 to your computer and use it in GitHub Desktop.
Save snippins/3e2c1500fa1a87a8e37a16b8a87a8680 to your computer and use it in GitHub Desktop.
Surfing keys config
settings.smoothScroll = true;
Hints.characters = 'cefhijklmnopqrstuvwxz';
map('<Alt-g>', 'sg');
map('<Alt-i>', 'i');
map('<Alt-;>', 'v');
unmapAllExcept(['<Alt-;>', '/', '<Alt-g>', '<Alt-i>']);
settings.theme = `
.sk_theme,
#sk_status input,
#sk_omnibarSearchArea>input,
#sk_keystroke .annotation,
#sk_usage span.annotation {
background: #222;
color: #bebec5;
}
#sk_status input,
#sk_omnibarSearchArea>input,
#sk_omnibarSearchArea .prompt,
#sk_omnibarSearchArea .resultPage {
font-family: Hack, "Ubuntu Mono", Consolas, "Courier New";
}
.sk_omnibar_middle #sk_omnibarSearchArea {
border: none;
margin: 8px 10px 9px;
}
#sk_omnibarSearchArea>.prompt,
#sk_omnibarSearchArea>input {
font-size: 18px;
}
#sk_omnibarSearchArea .resultPage {
font-size: 10px;
color: #6f705e;
}
#sk_omnibarSearchArea>.prompt {
color: #a6e22d;
}
#sk_omnibarSearchResult>ul>li {
font-family: Ubuntu, "Helvetica Neue", Arial, sans-serif;
font-size: 12px;
border-radius: 2px;
overflow-y: auto;
padding: 0.3rem;
margin: 0;
}
.sk_theme #sk_omnibarSearchResult>ul>li:nth-child(odd) {
background: #272727;
}
.sk_theme #sk_omnibarSearchResult>ul>li.focused {
background: #003855;
}
#sk_omnibarSearchResult li div.url {
color: #eee;
font-weight: bold;
font-size: 0.9em;
margin-top: 2px;
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
}
#sk_omnibar span.omnibar_highlight {
color: #a6e22d;
text-decoration: underline;
text-shadow: none;
}
.sk_theme .omnibar_timestamp,
.sk_theme .omnibar_folder,
.sk_theme .omnibar_visitcount {
font-size: 0.8em;
}
.sk_theme .omnibar_timestamp {
color: #a77afe;
}
.sk_theme .omnibar_folder,
.sk_theme .omnibar_visitcount {
color: #f12770;
}
#sk_usage > div {
margin-bottom: 25px;
}
#sk_usage span.annotation {
padding-left: 15px;
}
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment