diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-06-02 11:07:41 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-06-02 11:07:41 -0300 |
commit | 132588055fcb12d99fecf7cf6e4ca362142108ba (patch) | |
tree | d204d4f8c9a0317a53f01f3ca915d08b616a2105 | |
parent | 5561a3c59a17a3ad40de69076de36ec62f9aa643 (diff) | |
download | vimperator-132588055fcb12d99fecf7cf6e4ca362142108ba.tar.gz vimperator-132588055fcb12d99fecf7cf6e4ca362142108ba.tar.bz2 |
Ports pentadactyl config
-rw-r--r-- | vimperatorrc.dot.link | 50 |
1 files changed, 48 insertions, 2 deletions
diff --git a/vimperatorrc.dot.link b/vimperatorrc.dot.link index f634799..0662fdc 100644 --- a/vimperatorrc.dot.link +++ b/vimperatorrc.dot.link @@ -1,2 +1,48 @@ -" Check https://vimpr.github.io/ -set gui=nonavigation +" References: +" https://vimpr.github.io + +" Basic configuration +set gui=tabs,nonavigation +set tabnumbers +set titlestring= +set defsearch=duckduckgo + +" See https://github.com/vimperator/vimperator-labs/issues/88 +set focuscontent + +" Copy page title to the clipboard (with yt) +" http://www.mozdev.org/pipermail/vimperator/2008-October/002546.html +map yt :js util.copyToClipboard(content.document.title, true)<cr> + +" Copy page as a Markdown link +map ym :js util.copyToClipboard('[' + content.document.title + '](' + content.document.location + ')', true)<cr> + +" Copy page as a Trac wiki link +map yt :js util.copyToClipboard('[' + content.document.location content.document.title + ']', true)<cr> + +" Copy page for sharing +map ys :js util.copyToClipboard(content.document.title + ' - ' + content.document.location, true)<cr> + +" Open a new tab or the homepage +map e :tabopen about:newtab<cr> +map h gH + +" Quit +map q :quitall<cr> + +" Show all bookmarks shortcut +command bmarksshow :emenu Bookmarks.Show All Bookmarks + +" Bookmark this page shortcut +command bmarkthis :emenu Bookmarks.Bookmark This Page + +" Bookmark all tabs shortcut +command bmarkall :emenu Bookmarks.Bookmark All Tabs… + +" Send Tab URLs shortcut +" https://addons.mozilla.org/en-US/firefox/addon/send-tab-urls/ +command sendtabs :emenu File.Send Tab URLs... + +" Copy URLs shortcut +" https://addons.mozilla.org/en-US/firefox/addon/copyurls/ +command copyurls :emenu Edit.Copy Urls Expert.Tabs In This Window |