Skip to content

Instantly share code, notes, and snippets.

@tommorris
Created June 20, 2010 13:26
Show Gist options
  • Save tommorris/445848 to your computer and use it in GitHub Desktop.
Save tommorris/445848 to your computer and use it in GitHub Desktop.
set defsearch=yubnub
map <M-w> <Esc>:q<CR>
map <M-t> <Esc>:to<CR>
map <M-]> <Esc>:tn<CR>
map <M-[> <Esc>:tp<CR>
command newpad :to http://typewith.me/ep/pad/newpad
"map gd gT
map gj gt
map gk gT
map gmj <Esc>:tabmove! +1<CR>
map gmk <Esc>:tabmove! -1<CR>
map gM :javascript open("mailto:?SUBJECT=" + escape(document.title) + "&BODY=" + escape(document.getElementById("urlbar").value))<CR>
"autocmd LocationChange 'mail\.google\.com/mail' :fmap -depth 4 c / j k n p o u e x s r a # [ ] z ? gi gs gt gd ga gc
autocmd LocationChange .* :js modes.passAllKeys = /google\.com\/reader/.test(buffer.URL)
autocmd LocationChange .* :js modes.passAllKeys = /mail\.google\.com/.test(buffer.URL)
autocmd LocationChange www.jstor.org :js window.blur()
command darken :javascript loadURI("javascript:(function(){var%20newSS,%20styles='*%20{%20background:%20black%20!%20important;%20color:%20grey%20!important%20}%20:link,%20:link%20*%20{%20color:%20#0000EE%20!important%20}%20:visited,%20:visited%20*%20{%20color:%20#551A8B%20!important%20}';%20if(document.createStyleSheet)%20{%20document.createStyleSheet(%22javascript:'%22+styles+%22'%22);%20}%20else%20{%20newSS=document.createElement('link');%20newSS.rel='stylesheet';%20newSS.href='data:text/css,'+escape(styles);%20document.getElementsByTagName(%22head%22)[0].appendChild(newSS);%20}%20})();");<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment