From 9f111902358c6693f698ac28780dca3a1013627b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 15 Feb 2013 23:02:31 -0200 Subject: Yank title command for pentadactyl --- modules/pentadactyl/pentadactylrc.dot.link | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/pentadactyl') 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: -- cgit v1.2.3