Created
September 18, 2024 08:38
-
-
Save EdwinVanRooij/f988edd006067ce970d6de982916ba8f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================ General settings ================ | |
settings.hintAlign = "left"; | |
settings.scrollStepSize = 120; // faster 'jk' scrolling | |
api.Hints.setCharacters('aoeuidhtnspyfgcrl'); // all Dvorak first and second row alphabetic characters | |
api.iunmap(":"); | |
api.unmap("/"); // quick search | |
api.unmap('r'); | |
// ================ Own mappings ================ | |
api.map('u', 'f'); // open link | |
api.map('U', 'gf'); // open link in new tab | |
api.map('p', 'cc'); // 'paste' = open link from clipboard | |
api.map('J', 'd'); // fast scroll down | |
api.map('K', 'e'); // fast scroll up | |
// --- Tabs | |
api.map('h', 'S'); // previous tab | |
api.map('l', 'D'); // next tab | |
api.map('<', 'E'); // previous tab | |
api.map('>', 'R'); // next tab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment