From 132588055fcb12d99fecf7cf6e4ca362142108ba Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 2 Jun 2015 11:07:41 -0300 Subject: Ports pentadactyl config --- vimperatorrc.dot.link | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file 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) + +" Copy page as a Markdown link +map ym :js util.copyToClipboard('[' + content.document.title + '](' + content.document.location + ')', true) + +" Copy page as a Trac wiki link +map yt :js util.copyToClipboard('[' + content.document.location content.document.title + ']', true) + +" Copy page for sharing +map ys :js util.copyToClipboard(content.document.title + ' - ' + content.document.location, true) + +" Open a new tab or the homepage +map e :tabopen about:newtab +map h gH + +" Quit +map q :quitall + +" 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 -- cgit v1.2.3