dotfiles/surfingkeys/surfingkeys.js
Tom Willemse f94dfbad15 [Surfingkeys] Try specifying ‘M-<’ and ‘M->’ differently
The keybindings show up properly in the keybinding list, but they don't work.
I'm wondering if this particular change is going to cause a syntax error, or
perhaps Surfingkeys can figure out that those ‘<’ and ‘>’ are part of the
keybinding.
2022-12-13 06:37:44 -08:00

30 lines
650 B
JavaScript

api.unmap(':');
api.mapkey('<Alt-x>', '#7Open commands', function() {
api.Front.openOmnibar({type: "Commands"});
});
api.map('<Ctrl-b>', 'h');
api.map('<Ctrl-n>', 'j');
api.map('<Ctrl-p>', 'k');
api.map('<Ctrl-f>', 'l');
api.map('l', 'S');
api.map('r', 'D');
api.map('c0', 'yy');
api.map('<Alt-p>', 'E');
api.map('<Alt-n>', 'R');
api.map('<Ctrl-v>', 'P');
api.map('<Alt-v>', 'U');
api.map('<Alt->>', 'G');
api.map('<Alt-<>', 'gg');
api.Hints.setCharacters('arstdhneio');
api.hintAlign = "left";
settings.aceKeybindings = 'emacs';
settings.defaultSearchEngine = 'd';
// Local Variables:
// js2-additional-externs: ("api" "settings")
// End: