From 939c4450e6df8452eff54658e1bd12efefb04d5e Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Thu, 22 Oct 2009 19:03:04 +0200 Subject: vimperator: added noscript plugin bindings --- vimperatorrc | 43 +++++++++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 10 deletions(-) (limited to 'vimperatorrc') diff --git a/vimperatorrc b/vimperatorrc index 13d6a1e..1f30ebb 100644 --- a/vimperatorrc +++ b/vimperatorrc @@ -1,5 +1,5 @@ -" anrxc's vimperator init file with Emacs bindings - +" {{{ anrxc's vimperator init file with Emacs bindings +" " For a nice formatted list of keybindings check: " * http://sysphere.org/~anrxc/j/articles/vimperator/index.html @@ -10,16 +10,16 @@ " * C-g is buggy in insert mode in Vimperator 2.0 " * completion brings system and FF to a crawl anyway so I will not use v2.0 " * C-g solved in Vimperator 2.1 and completion is fixed +" }}} +" {{{ Options +" - Most of the options already have good defaults +" " User styles as colorschemes in Vimperator 2 " * ~/.vimperator/colors/clearlooks.vimp colorscheme clearlooks - -" Options -" - Most of the options already have good defaults -" " Window title (Vimperator by default) set titlestring=Firefox @@ -35,6 +35,15 @@ set history=10000 " Show the tab bar only if more then one tab is open set showtabline=1 +" Focus the content after a page has loaded +set focuscontent + +" Show pattern matches as you type +set incsearch + +" Override ignorecase if pattern has uppercase characters +set smartcase + " Show destination links in 1=status line, 2=command line set showstatuslinks=1 @@ -50,11 +59,15 @@ set hlsearch " Default search engine is ignored, plugins are used, place yubnub in there and do: set ds=yubnub +" }}} -" Key bindings -" - Emacs key theme for GTK and Firefox already provide bindings for input fields. +" {{{ Key bindings +" - Emacs GTK key theme and FF already provide bindings for input fields " +" Map leader +let mapleader="," + " M-x enters command mode noremap : @@ -225,10 +238,19 @@ noremap u gu " Go to the root of the website with C-x C-u noremap gU +" }}} + + +" {{{ Plugins +" +" Noscript +noremap s :noscript toggletemp +noremap S :noscript toggleperm +noremap t :noscript popup +" }}} -" Javascript -" - Some useful functions +" {{{ Javascript functions " " Show the feed-button in the statusbar javascript <