diff options
author | René Neumann <rene.neumann@in.tum.de> | 2013-04-16 16:12:13 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2013-04-16 16:13:27 +0200 |
commit | a2ef0fa33fb18b70d41459eb8b60c790d900c6cd (patch) | |
tree | 6cf2185c8da7638ee78aebb5762e88d36e920ddd /.vimperator | |
parent | 71c3025168036b192e869529e41351e1f217f682 (diff) | |
download | dotfiles-a2ef0fa33fb18b70d41459eb8b60c790d900c6cd.tar.gz dotfiles-a2ef0fa33fb18b70d41459eb8b60c790d900c6cd.tar.bz2 dotfiles-a2ef0fa33fb18b70d41459eb8b60c790d900c6cd.zip |
Overhaul vimperatorrc
Diffstat (limited to '')
-rw-r--r-- | .vimperatorrc | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/.vimperatorrc b/.vimperatorrc index 7a9a979..708a967 100644 --- a/.vimperatorrc +++ b/.vimperatorrc @@ -28,6 +28,11 @@ set! browser.urlbar.formatting.enabled=false set previouspattern^=\\b[zZ]urück\\b set nextpattern^=\\b[wW]eiter\\b +" open addons and help in new tab by default +set newtab=addons,help + +let mapleader="," + " =========== " MAPPINGS " =========== @@ -45,11 +50,14 @@ noremap <C-i> <C-o> " paste map <A-p> :pastebin -" map something to allow bookmarking -map ,b :js liberator.open("javascript:document.getElementsByTagName('body')[0].appendChild(document.createElement('script')).setAttribute('src','http://www.mendeley.com/min.php/bookmarklet')")<CR> -map ,e :js liberator.open("javascript:void(location.href='https://eaccess.ub.tum.de:2443/login?url='+location.href)")<CR> +" TUM eAccess +map <Leader>e :js liberator.open("javascript:void(location.href='https://eaccess.ub.tum.de:2443/login?url='+location.href)")<CR> " 'tabgroup' is way too long -cmap tg tabgroups +cabbrev tg tabgroups + +" two tabgroups: 'default' and 'news' +map <Leader>n :tabgroups 1switch<CR> +map <Leader>N :tabgroups pushtab! news<CR> " vim: ft=vim |