aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-11-06 18:17:01 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-11-06 18:17:01 -0200
commit325bc95cf7a97e2cec02ca07a9909a1e66a234ca (patch)
tree656688db9a66ce1c21e0299879aed0c4984d15c2
parent529b75483afb3dfb3cdfcfaa967f2dcc14204c25 (diff)
downloadvimperator-325bc95cf7a97e2cec02ca07a9909a1e66a234ca.tar.gz
vimperator-325bc95cf7a97e2cec02ca07a9909a1e66a234ca.tar.bz2
Copy page as a reStructutedText link
-rw-r--r--vimperatorrc.dot.link5
1 files changed, 4 insertions, 1 deletions
diff --git a/vimperatorrc.dot.link b/vimperatorrc.dot.link
index 14ae431..56be7cb 100644
--- a/vimperatorrc.dot.link
+++ b/vimperatorrc.dot.link
@@ -24,8 +24,11 @@ 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 reStructutedText link
+map yc :js util.copyToClipboard('`' + content.document.location + ' <' + content.document.title + '>`_', true)<cr>
+
" Copy page as a Trac wiki link
-map yr :js util.copyToClipboard('[' + content.document.location + ' ' + content.document.title + ']', true)<cr>
+map yc :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>