Tom Willemse
6f0a9a8613
I don't accidentally want to become dependent on the original keybindings. I'm leaving the ‘G’ and ‘gg’ keys up for now, beceause I haven't been able to tell yet whether the ‘M-<’ and ‘M->’ keybindings work.
43 lines
829 B
JavaScript
43 lines
829 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.unmap('h');
|
|
api.unmap('j');
|
|
api.unmap('k');
|
|
api.unmap('l');
|
|
api.unmap('S');
|
|
api.unmap('D');
|
|
api.unmap('yy');
|
|
api.unmap('E');
|
|
api.unmap('R');
|
|
|
|
api.map('<Ctrl-v>', 'P');
|
|
api.map('<Alt-v>', 'U');
|
|
api.map('<Alt->>', 'G');
|
|
api.map('<Alt-<>', 'gg');
|
|
|
|
api.unmap('P');
|
|
api.unmap('U');
|
|
|
|
api.Hints.setCharacters('arstdhneio');
|
|
api.hintAlign = "left";
|
|
|
|
settings.aceKeybindings = 'emacs';
|
|
settings.defaultSearchEngine = 'd';
|
|
|
|
// Local Variables:
|
|
// js2-additional-externs: ("api" "settings")
|
|
// End:
|