Skip to content

Instantly share code, notes, and snippets.

@jhickner
Last active November 15, 2018 19:56
Show Gist options
  • Save jhickner/97f45a97fcaeab1399d9904ee595f2ca to your computer and use it in GitHub Desktop.
Save jhickner/97f45a97fcaeab1399d9904ee595f2ca to your computer and use it in GitHub Desktop.
SurfingKeys Config
settings.modeAfterYank = "Normal";
settings.scrollStepSize = 140;
settings.showModeStatus = true;
settings.focusAfterClosed = "left";
settings.newTabPosition = "last";
iunmap(":");
addSearchAliasX('h', "Hackage", "https://www.google.com/search?q=hackage+", 's');
map("<Shift-ArrowRight>", "R");
map("<Shift-ArrowLeft>", "E");
map(">_h", "h");
map(">_l", "l");
map(";;", "T");
map("h", "S");
map("l", "D");
map("o", "H");
map("O", "t");
/*
mapkey('O', '#8Open a URL in current tab', function() {
Front.openOmnibar({type: "History"});
});
mapkey('o', '#8Open a URL in current tab', function() {
Front.openOmnibar({type: "History", tabbed: false});
});
*/
mapkey('M', '#8Open URL from vim-like marks', function() {
Front.openOmnibar({type: "VIMarks"});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment