Skip to content

Instantly share code, notes, and snippets.

@scturtle
Last active January 8, 2018 00:27
Show Gist options
  • Save scturtle/0950b4c44d3581477685 to your computer and use it in GitHub Desktop.
Save scturtle/0950b4c44d3581477685 to your computer and use it in GitHub Desktop.
surfingkeys sucks
map('F', 'af');
map('gt', 'R');
map('gT', 'E');
map('<Ctrl-n>', 'R');
map('<Ctrl-p>', 'E');
mapkey('H', '#4Go back in history', function() { history.go(-1); }, {repeatIgnore: true});
mapkey('L', '#4Go forward in history', function() { history.go(1); }, {repeatIgnore: true});
map('d', 'x');
map('u', 'X');
map('I', '<Alt-s>');
map('gf', 'gs');
//mapkey('R', 'Reload', 'RUNTIME("reloadTab", { nocache: true })');
mapkey('D', 'Close and move to left tab', function(){ RUNTIME("closeTab"); RUNTIME("previousTab"); });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment