Adding more grooveshark stuff to pentadactylrc, and making C-c work to esc command mode

master
Dustin Swan 12 years ago
parent 72dbf1d609
commit 94018f272e

@ -1,5 +1,3 @@
"hg6784
loadplugins '\.(js|penta)$'
group user
set editor='/usr/local/bin/mvim -f +<line> +"sil! call cursor(0, <column>)" <file>'
@ -7,5 +5,7 @@ set editor='/usr/local/bin/mvim -f +<line> +"sil! call cursor(0, <column>)" <fil
" 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();<CR>
map gsp :js if((gs = gBrowser.tabs[0].linkedBrowser.contentWindow.wrappedJSObject.Grooveshark) != undefined) gs.previous();<CR>
map gs<space> :js if((gs = gBrowser.tabs[0].linkedBrowser.contentWindow.wrappedJSObject.Grooveshark) != undefined) gs.togglePlayPause();<CR>
cmap <C-c> <esc>
" vim: set ft=pentadactyl:

Loading…
Cancel
Save