diff options
-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 |