aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimperatorrc.dot.link3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimperatorrc.dot.link b/vimperatorrc.dot.link
index 38c5a0a..cd9a409 100644
--- a/vimperatorrc.dot.link
+++ b/vimperatorrc.dot.link
@@ -30,6 +30,9 @@ map yr :js util.copyToClipboard('[' + content.document.location + ' ' + content.
" Copy page for sharing
map ys :js util.copyToClipboard(content.document.title + ' - ' + content.document.location, true)<cr>
+" Copy page as HTML link
+map yh :js util.copyToClipboard('<a href="' + content.document.location + '">' + content.document.title + '</a>', true)<cr>
+
" Open a new tab or the homepage
map e :tabopen about:newtab<cr>
map h gH