summaryrefslogtreecommitdiff
path: root/vimperatorrc
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2011-03-26 08:09:34 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2011-03-26 08:10:11 +0100
commitfd4526c2bb9caeb5cba6c3b7860287b35d4ee0bd (patch)
tree8eaac2a01890cb1c2b7999ab075808e4663710c9 /vimperatorrc
parent14783f08366242076dfe232bc0c22ba9608a67c3 (diff)
downloaddotfiles-fd4526c2bb9caeb5cba6c3b7860287b35d4ee0bd.tar.xz
vimperator: upgrade to v3 and Firefox 4
Removed buftabs, tinyurl, and deprecated color schemes. Imported statusline-toolbar plugin to avoid using the Add-on bar. Minor adjustments to vimperatorrc to port it to vimperator v3.
Diffstat (limited to 'vimperatorrc')
-rw-r--r--vimperatorrc47
1 files changed, 10 insertions, 37 deletions
diff --git a/vimperatorrc b/vimperatorrc
index 76f7770..18601b0 100644
--- a/vimperatorrc
+++ b/vimperatorrc
@@ -20,8 +20,11 @@ colorscheme zenburn
" Window title
set titlestring=Firefox
-" No toolbar and scrollbars by default
-set go-=brT
+" No toolbars or menus by default
+set toolbars=noaddons,nobookmarks,nomenu,nonavigation,tabs
+
+" Elements of the status line
+set status=input,location,tabcount,position
" Editor, C-i invokes it in text fields
set editor=emacsclient
@@ -38,18 +41,15 @@ set hlsearch
" Override ignorecase if pattern has uppercase chars
set smartcase
-" Show the tab bar only if more then one tab is open
-set showtabline=0
-
" Focus content after a page has loaded
set focuscontent
-" Show destination links in 1=status line, 2=command line
-set showstatuslinks=2
+" Show destination links in 1=status line, 2=command line, 0=none (FF4 baloon)
+set showstatuslinks=0
" Show completions and use AwesomeBar (+search plugins)
+set autocomplete
set complete=sl
-set wildoptions=auto
" Ex commands output in a new tab by default (prefs, addons...)
set newtab=all
@@ -193,8 +193,8 @@ map <C-x><C-f> <C-d><C-o>
" {{{ Personal key bindings
"
" M-Up/Dn toggles the toolbar and scrollbars
-map <A-Down> :set go+=brT<CR>
-map <A-Up> :set go-=brT<CR>
+map <A-Down> :set toolbars=navigation<CR>
+map <A-Up> :set toolbars=nonavigation<CR>
" Sidebar selection with s, close with S
map s :sidebar<SPACE>
@@ -251,34 +251,7 @@ map <A-Right> :tabmove! +1<CR>
" {{{ Plugin bindings
"
-" Buftabs
-map <C-c>b :set invbuftabs<CR>
-
" Noscript
map <C-c>s :noscript toggletemp<CR>
map <C-c>S :noscript popup<CR>
-
-" TinyURL
-map <C-c>t :exe ":tinyurl "+getBrowser().contentWindow.location.href<CR>
-" }}}
" }}}
-
-
-" {{{ Javascript functions
-"
-" Show the Feed and Bookmark buttons on the statusbar
-javascript <<EOF
-(function(){
- var statusPanel = document.createElement("statusbarpanel");
- statusPanel.setAttribute("id", "buttons-panel-clone");
- statusPanel.appendChild(document.getElementById("feed-button"));
- statusPanel.appendChild(document.getElementById("star-button"));
- statusPanel.firstChild.setAttribute("style", "padding: 0; max-height: 16px;");
- document.getElementById("status-bar")
- .insertBefore(statusPanel, document.getElementById("security-button"));
-})();
-EOF
-" }}}
-
-
-echo "[vimperator initialized]"