Skip to content

Instantly share code, notes, and snippets.

@mikeonly
Last active December 18, 2024 02:36
Show Gist options
  • Save mikeonly/7b05a84b7e9cc5da3b4c718ac58f84f7 to your computer and use it in GitHub Desktop.
Save mikeonly/7b05a84b7e9cc5da3b4c718ac58f84f7 to your computer and use it in GitHub Desktop.
My Surfingkeys Config
api.unmap("a")
api.unmap("d")
// make "ga" be "Open in a new tab"
api.map("ga", "af")
// half page navigation
// make "J" scroll one page
api.map("J", "d")
api.map("q", "e")
api.map("e", "d")
api.map("d", "R");
api.map("a", "E");
api.map("w", "x");
api.map("g1", "g0");
api.map("1", "g0");
api.map("z", "<Ctrl-6>");
api.map("g9", "g$");
api.map("9", "g$");
api.map("T", "X");
api.map("Z", "B");
api.map("X", "F");
api.unmap("w");
api.map("E", "<<")
api.map("R", ">>")
// change go back in history to A instead of S
api.map("A", "S")
api.unmap("S")
// unmaps movements
api.unmap(">>");
api.unmap("<<");
api.iunmap(":")
api.Hints.style('font-family: Arial, sans-serif');
settings.hintAlign = 'left'
settings.theme = `
sk_theme {
font-family: Inter, sans-serif;
font-size: 10pt;
}
#sk_status, #sk_find {
font-size: 10pt;
}
}`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment