Skip to content

Instantly share code, notes, and snippets.

@bjorngylling
Created March 8, 2011 19:42
Show Gist options
  • Save bjorngylling/860874 to your computer and use it in GitHub Desktop.
Save bjorngylling/860874 to your computer and use it in GitHub Desktop.
"2.1 (created: 2009/05/21 13:13:06)
set runtimepath=C:\\Users\\Bjorn\\vimperator
source! C:\\Users\\Bjorn\\_vimperatorrc.local
" vim: set ft=vimperator:
command! wowheadnew -nargs=* tabopen http://www.wowhead.com/?search=<args>
map W :wowheadnew
command! wowhead -nargs=* open http://www.wowhead.com/?search=<args>
map w :wowhead
command! armorynew -nargs=* tabopen http://eu.battle.net/wow/en/character/karazhan/<args>/advanced
map A :armorynew
command! armory -nargs=* open http://eu.battle.net/wow/en/character/karazhan/<args>/advanced
map a :armory
command google -nargs=* tabopen http://www.google.com/search?q=<args>
map s :google
noremap <silent> S :exe ":google "+content.getSelection()<CR>
command! idaliu -nargs=* tabopen http://www.ida.liu.se/~<args>/
map I :idaliu
map h :wowhero
command! wowhero -nargs=* open http://www.wow-heroes.com/index.php?zone=eu&server=Karazhan&name=<args>
map H :wowheronew
command! wowheronew -nargs=* tabopen http://www.wow-heroes.com/index.php?zone=eu&server=Karazhan&name=<args>
javascript << EOF
(function(){
var feedPanel = document.createElement("statusbarpanel");
feedPanel.setAttribute("id", "feed-panel-clone");
feedPanel.appendChild(document.getElementById("feed-button"));
feedPanel.firstChild.setAttribute("style", "padding: 0; max-height: 16px;");
document.getElementById("status-bar")
.insertBefore(feedPanel, document.getElementById("security-button"));
})();
EOF
set visualbell
hi StatusLine color: white; background: black;
hi CmdLine color: white; background: black; font-family: monospace;
hi Normal color: white; background: black;
hi CompItem[selected] color: black; background: Gold;
hi CompDesc color: black; width: 50%;
set! dom.disable_window_move_resize=true
set! browser.fullscreen.autohide=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment