From 72dbf1d6096c590d76b490b7b808cb09e2a8e6b7 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Tue, 24 Jul 2012 08:53:42 -0600 Subject: [PATCH] Adding the grooveshark keymaps to pentadactylrc --- pentadactylrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pentadactylrc b/pentadactylrc index 237c28d..51691b4 100644 --- a/pentadactylrc +++ b/pentadactylrc @@ -4,4 +4,8 @@ loadplugins '\.(js|penta)$' group user set editor='/usr/local/bin/mvim -f + +"sil! call cursor(0, )" ' +" Grooveshark stuff. Works only if it is in the first tab +map gsn :js if((gs = gBrowser.tabs[0].linkedBrowser.contentWindow.wrappedJSObject.Grooveshark) != undefined) gs.next(); +map gsp :js if((gs = gBrowser.tabs[0].linkedBrowser.contentWindow.wrappedJSObject.Grooveshark) != undefined) gs.previous(); + " vim: set ft=pentadactyl: