summaryrefslogtreecommitdiff
path: root/vimperatorrc
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-29 22:01:33 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-29 22:02:34 +0100
commit06a3f462723471f00ef7d2932b7d47beb1a816c0 (patch)
tree8a345e38178a1bdce65264a404d73d3dae13731c /vimperatorrc
parentd773749f0e04defee5f40c80e41e80566c5421f6 (diff)
downloaddotfiles-06a3f462723471f00ef7d2932b7d47beb1a816c0.tar.xz
vimperator: upgrade to vimperator 2.2
- added TinyURL plugin (;t) - open picture location with C-x p - open context menu with C-x m
Diffstat (limited to 'vimperatorrc')
-rw-r--r--vimperatorrc11
1 files changed, 10 insertions, 1 deletions
diff --git a/vimperatorrc b/vimperatorrc
index 1f30ebb..72536dd 100644
--- a/vimperatorrc
+++ b/vimperatorrc
@@ -224,6 +224,12 @@ noremap <C-x>g gf
" Focus the address bar with C-l
map <C-l> <C-d><C-l>
+" Open picture location with C-x p
+noremap <C-x>p ;i
+
+" Open context menu with C-x m
+noremap <C-x>m ;c
+
" Focus last used input field with C-x i
noremap <C-x>i gi
@@ -246,9 +252,12 @@ noremap <C-x><C-u> gU
" Noscript
noremap <silent> <Leader>s :noscript toggletemp<CR>
noremap <silent> <Leader>S :noscript toggleperm<CR>
-noremap <silent> <Leader>t :noscript popup<CR>
+noremap <silent> <Leader>p :noscript popup<CR>
" }}}
+" TinyURL
+:map <silent> <Leader>t :exe ":tinyurl "+getBrowser().contentWindow.location.href<CR>
+
" {{{ Javascript functions
"