aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-15 23:02:31 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-15 23:02:31 -0200
commit9f111902358c6693f698ac28780dca3a1013627b (patch)
tree60767d82feab5931ef35d7b10826fc5a8253c517
parent77fd25a36d3e3ae6c053be5bac33e536d4da68d2 (diff)
downloadmetadot-9f111902358c6693f698ac28780dca3a1013627b.tar.gz
metadot-9f111902358c6693f698ac28780dca3a1013627b.tar.bz2
Yank title command for pentadactyl
-rw-r--r--modules/pentadactyl/pentadactylrc.dot.link4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/pentadactyl/pentadactylrc.dot.link b/modules/pentadactyl/pentadactylrc.dot.link
index 2566d93..fbdf771 100644
--- a/modules/pentadactyl/pentadactylrc.dot.link
+++ b/modules/pentadactyl/pentadactylrc.dot.link
@@ -17,4 +17,8 @@ set go+=n
" Avoid theme overwriting during syncs
"set! general.skins.selectedSkin=rein
+" Copy page title
+" Thanks to https://github.com/laurentb/public-dotfiles/blob/master/desktop/.pentadactyl/main.penta
+command yt :yank :echo document.title.replace(/ - Pentadactyl$/, '');
+
" vim: set ft=pentadactyl: