map / unmap per URL

20 views
Skip to first unread message

Jonathan C. Dietrich

unread,
Mar 2, 2012, 2:09:02 PM3/2/12
to vimium-dev
I would LOVE to be able to have an advanced option to selectively
unmap/map per URL.
(For instance, a JSON definition might look like)

[
{
url: "http*://mail.google.com/*" ,
keymap: "
unmapall
map J previousTab
map K nextTab
"
}
{
url: [
"http*:\\otherURL.com\*" ,
"http*:\\example.org\*"
],
keymap: "
map <c-t> scrollToTop
"
}
]

Jonathan C. Dietrich

unread,
Mar 2, 2012, 2:10:13 PM3/2/12
to vimium-dev
Note, I realise there is at least one error in the JSON. The example
is given to communicate a possible way to make it available and to
demonstrate the ideas only.
Reply all
Reply to author
Forward
0 new messages