Last active
December 30, 2015 14:33
-
-
Save 15cm/51e1fc4662986a6d6061 to your computer and use it in GitHub Desktop.
surfingkeyrc
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
// page browsing | |
unmap('E'); mapkey('H', 'Go one tab left', 'RUNTIME("previousTab")'); | |
unmap('R'); mapkey('L', 'Go one tab right', 'RUNTIME("nextTab")'); | |
unmap('S'); mapkey('J', 'Go back in history', 'history.go(-1)'); | |
unmap('D'); mapkey('K', 'Go forward in history', 'history.go(1)'); | |
unmap('u'); mapkey('u', 'Scroll a page up', 'Normal.scroll("pageUp")'); | |
unmap('r'); mapkey('R', 'Reload the page', 'RUNTIME("reloadTab", { nocache: false })'); | |
// tab navigation | |
unmap('t'); | |
settings.tabsThreshold=25; | |
unmap('B'); mapkey('tp', 'Go one tab history back', 'RUNTIME("historyTab", {backward: true})'); | |
unmap('gF'); mapkey('tn', 'Go one tab history forward', 'RUNTIME("historyTab", {backward: false})'); | |
mapkey('tt', 'Open an URLs', 'Normal.openOmnibar(OpenURLs)'); | |
unmap('b'); mapkey('tb', 'Open a bookmark', 'Normal.openOmnibar(OpenBookmarks)'); | |
// yank | |
unmap('yl'); | |
unmap('yf'); | |
mapkey('yl', "Copy current page's URL", 'Normal.writeClipboard(window.location.href)'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment