From a2ef0fa33fb18b70d41459eb8b60c790d900c6cd Mon Sep 17 00:00:00 2001 From: René Neumann Date: Tue, 16 Apr 2013 16:12:13 +0200 Subject: Overhaul vimperatorrc --- .vimperatorrc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to '.vimperatorrc') 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 " paste map :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')") -map ,e :js liberator.open("javascript:void(location.href='https://eaccess.ub.tum.de:2443/login?url='+location.href)") +" TUM eAccess +map e :js liberator.open("javascript:void(location.href='https://eaccess.ub.tum.de:2443/login?url='+location.href)") " 'tabgroup' is way too long -cmap tg tabgroups +cabbrev tg tabgroups + +" two tabgroups: 'default' and 'news' +map n :tabgroups 1switch +map N :tabgroups pushtab! news " vim: ft=vim -- cgit v1.2.3-54-g00ecf