Skip to content

Instantly share code, notes, and snippets.

@ryankhart
Last active December 22, 2018 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryankhart/c2cdd62f7fd1e92adba7d65e8f12aea0 to your computer and use it in GitHub Desktop.
Save ryankhart/c2cdd62f7fd1e92adba7d65e8f12aea0 to your computer and use it in GitHub Desktop.
unmap('j', /google\.com/i);
unmap('k', /google\.com/i);
unmap('/', /google\.com/i);
unmap('j', /youtube\.com/i);
unmap('k', /youtube\.com/i);
unmap('l', /youtube\.com/i);
unmap('f', /youtube\.com/i);
unmap('e', /mail.google\.com/i);
unmap('?', /mail.google\.com/i);
unmap('o', /mail.google\.com/i);
unmap('u', /mail.google\.com/i);
unmap('/', /github\.com/i);
mapkey('H', '#4Go back in history', function() {
history.go(-1);
}, {repeatIgnore: true});
mapkey('L', '#4Go forward in history', function() {
history.go(1);
}, {repeatIgnore: true});
// set theme
settings.theme = `
.sk_theme {
font-family: Input Sans Condensed, Charcoal, sans-serif;
font-size: 10pt;
background: #24272e;
color: #abb2bf;
}
.sk_theme tbody {
color: #fff;
}
.sk_theme input {
color: #d0d0d0;
}
.sk_theme .url {
color: #61afef;
}
.sk_theme .annotation {
color: #56b6c2;
}
.sk_theme .omnibar_highlight {
color: #528bff;
}
.sk_theme .omnibar_timestamp {
color: #e5c07b;
}
.sk_theme .omnibar_visitcount {
color: #98c379;
}
.sk_theme #sk_omnibarSearchResult>ul>li:nth-child(odd) {
background: #303030;
}
.sk_theme #sk_omnibarSearchResult>ul>li.focused {
background: #3e4452;
}
#sk_status, #sk_find {
font-size: 20pt;
}`;
// click `Save` button to make above settings to take effect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment