Adding the pocket command to pentadactylrc

master
Dustin Swan 12 years ago
parent 94018f272e
commit cac3633f3e

BIN
.DS_Store vendored

Binary file not shown.

@ -1 +1 @@
Subproject commit 11034217a7ea3cffe6e0fe631837c518b8c7e1a5 Subproject commit d05b2010ffd4cd33ff9402c402051b1caf985d97

@ -8,4 +8,7 @@ map gsp :js if((gs = gBrowser.tabs[0].linkedBrowser.contentWindow.wrappedJSObjec
map gs<space> :js if((gs = gBrowser.tabs[0].linkedBrowser.contentWindow.wrappedJSObject.Grooveshark) != undefined) gs.togglePlayPause();<CR> map gs<space> :js if((gs = gBrowser.tabs[0].linkedBrowser.contentWindow.wrappedJSObject.Grooveshark) != undefined) gs.togglePlayPause();<CR>
cmap <C-c> <esc> cmap <C-c> <esc>
" Save to pocket
command! pocket -description "Save to Pocket" open javascript:(function(){ISRIL_H='ff69';PKT_D='getpocket.com';ISRIL_SCRIPT=document.createElement('SCRIPT');ISRIL_SCRIPT.type='text/javascript';ISRIL_SCRIPT.src='http://'+PKT_D+'/b/r.js';document.getElementsByTagName('head')[0].appendChild(ISRIL_SCRIPT)})();
" vim: set ft=pentadactyl: " vim: set ft=pentadactyl:

@ -1 +1 @@
Subproject commit 03ed2bd39e37c5ff035c05197af81558eb5d8a89 Subproject commit dd8356aea7499fed92f7c37227b1625a2b3dc190
Loading…
Cancel
Save