Skip to content

Instantly share code, notes, and snippets.

@okhiroyuki
Created May 1, 2011 23:20
Show Gist options
  • Save okhiroyuki/950982 to your computer and use it in GitHub Desktop.
Save okhiroyuki/950982 to your computer and use it in GitHub Desktop.
Chrome Keyconfig
{
"name": "Chrome Keyconfig",
"version": "1.11.0",
"normal_actions": {
"j": {
"name": "scroll down",
"args": []
},
"k": {
"name": "scroll up",
"args": []
},
"h": {
"name": "select left tab",
"args": []
},
"l": {
"name": "select right tab",
"args": []
},
"Esc": {
"name": "limited mode",
"args": []
},
"k e y c o n f i g": {
"name": "Keyconfig",
"args": []
},
"g g": {
"name": "scroll to top",
"args": []
},
"G": {
"name": "scroll to bottom",
"args": []
},
"u": {
"name": "re-open closed tab",
"args": []
},
"H": {
"name": "back",
"args": []
},
"L": {
"name": "forward",
"args": []
},
"s": {
"name": "Taberareloo.general",
"args": []
},
"; i": {
"name": "go to #1",
"args": [
"javascript:function iprl5(){var d=document,z=d.createElement('scr'+'ipt'),b=d.body,l=d.location;try{if(!b)throw(0);d.title='(Saving...) '+d.title;z.setAttribute('src',l.protocol+'//www.instapaper.com/j/CIegcps3FDZ4?u='+encodeURIComponent(l.href)+'&t='+(new Date().getTime()));b.appendChild(z);}catch(e){alert('Please wait until the page has loaded.');}}iprl5();void(0)",
"post instapaper"
],
"and": false
},
"; m": {
"name": "go to #1",
"args": [
"javascript:(function()%7Bvar%20str='';if(document.selection)%7Bstr=document.selection.createRange().text;%7Delse%20if(document.getSelection)%7Bstr=document.getSelection();%7Delse%20if(window.getSelection)%7Bstr=window.getSelection();%7Dwindow.location='http://mediamarker.net/reg?mode=marklet&url='+encodeURIComponent(location.href)+'&comment='+encodeURIComponent(str);%7D)()",
"post mediamakaer"
]
},
"; t": {
"name": "go to #1",
"args": [
"javascript:(function(){window.twttr=window.twttr||{};var D=550,A=450,C=screen.height,B=screen.width,H=Math.round((B/2)-(D/2)),G=0,F=document,E;if(C>A){G=Math.round((C/2)-(A/2))}window.twttr.shareWin=window.open('http://twitter.com/share','','left='+H+',top='+G+',width='+D+',height='+A+',personalbar=0,toolbar=0,scrollbars=1,resizable=1');E=F.createElement('script');E.src='http://platform.twitter.com/bookmarklets/share.js?v=1';F.getElementsByTagName('head')[0].appendChild(E)}());",
"post twitter"
],
"and": false
},
"; a": {
"name": "go to #1",
"args": [
"javascript:location.href='http://a.hatena.ne.jp/append?'+location.href;",
"post antena"
]
},
"; b": {
"name": "go to #1",
"args": [
"javascript:(function(){var%20d=(new%20Date);var%20s=document.createElement('script');s.charset='UTF-8';s.src='http://b.hatena.ne.jp/js/Hatena/Bookmark/let.js?'+d.getFullYear()+d.getMonth()+d.getDate();(document.getElementsByTagName('head')[0]||document.body).appendChild(s);})();",
"post hatebu"
]
},
"; f": {
"name": "go to #1",
"args": [
"javascript:var%20d=document,f='http://www.facebook.com/share',l=d.location,e=encodeURIComponent,p='.php?src=bm&v=4&i=1192209468&u='+e(l.href)+'&t='+e(d.title);1;try{if(!/^(.*\\.)?facebook\\.[^.]*$/.test(l.host))throw(0);share_internal_bookmarklet(p)}catch(z){a=function(){if(!window.open(f+'r'+p,'sharer','toolbar=0,status=0,resizable=0,width=626,height=436'))l.href=f+p};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else{a()}}void(0)",
"share to facebook"
],
"and": false
},
"f": {
"name": "hit a hint",
"args": [],
"and": false
},
"; p": {
"name": "go to #1",
"args": [
"javascript:(function(){if(window['ppw']&&ppw['bookmarklet']){ppw.bookmarklet.toggle();}else{window._pwyl_home='http://www.printwhatyoulike.com/';window._pwyl_pro_id=null;window._pwyl_bmkl=document.createElement('script');window._pwyl_bmkl.setAttribute('type','text/javascript');window._pwyl_bmkl.setAttribute('src',window._pwyl_home+'static/compressed/pwyl_bookmarklet_10.js');window._pwyl_bmkl.setAttribute('pwyl','true');document.getElementsByTagName('head')[0].appendChild(window._pwyl_bmkl);}})();",
"PrintWhatYouLike"
],
"and": false
},
"; r": {
"name": "go to #1",
"args": [
"javascript:(function(){h='www.rememberthemilk.com';p='/services/ext/addtask.rtm';if(window.getSelection){d=window.getSelection();}else if(document.getSelection){d=document.getSelection();}else if(document.selection){d=document.selection.createRange().text;};cp='http://'+h+p+'?d='+encodeURIComponent(d)+'&t='+encodeURIComponent(document.title);w=window.open(cp,'addwindow','status=no,toolbar=no,width=475,height=260,resizable=yes');setTimeout(function(){w.focus();}, 500);})();",
"Add to RTM"
],
"and": false
},
"r": {
"name": "reload",
"args": [],
"and": false
},
"; y": {
"name": "go to #1",
"args": [
"javascript:window.open('http://yomereba.com/blogparts/?&url='+encodeURI(document.location.href));undefined;",
"yomereba"
],
"and": false
}
},
"limited_actions": {
"Esc": {
"name": "normal mode",
"args": []
}
},
"useTabTitle": false,
"smooth_scroll": true,
"ldrize": true,
"chrome_vim": false,
"vim_normal_actions": {
"j": {
"name": "Down",
"args": []
},
"k": {
"name": "Up",
"args": []
},
"h": {
"name": "Left",
"args": []
},
"l": {
"name": "Right",
"args": []
},
"^": {
"name": "Line head",
"args": []
},
"$": {
"name": "Line foot",
"args": []
},
"Esc": {
"name": "normal mode",
"args": []
},
"i": {
"name": "insert mode",
"args": []
}
},
"vim_insert_actions": {
"Esc": {
"name": "normal mode",
"args": []
}
},
"vim_default_mode": "insert",
"vim_color_config": {
"normal": {
"background": "gray",
"text": "black"
},
"insert": {
"background": "white",
"text": "black"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment