aboutsummaryrefslogtreecommitdiffstats
path: root/mutt/muttrc
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-02-05 00:21:53 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-02-05 00:21:53 +0100
commit4dd69e59528c13f1bfae1efd06d72ef71bc71993 (patch)
tree694e6b0c014376b880673b525b94f6d1e5a6ed0b /mutt/muttrc
parent703e0d2c25fa84ecfe56e609a4e498b245f45f7f (diff)
downloaddotfiles-4dd69e59528c13f1bfae1efd06d72ef71bc71993.tar.xz
mutt: add gmane linking macro
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'mutt/muttrc')
-rw-r--r--mutt/muttrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/mutt/muttrc b/mutt/muttrc
index 2c9c876..2aa860a 100644
--- a/mutt/muttrc
+++ b/mutt/muttrc
@@ -168,6 +168,7 @@ bind index P recall-message
# Move message to archive
macro index,pager a "<enter-command>unset resolve<enter><modify-labels>-inbox +archive<enter><save-message>=archive<enter><enter-command>set resolve<enter>"
+macro index ,g "<pipe-message>grep -a \^Message-ID: | sed \'s_Message-ID: <\\(.*\\)>_http:\/\/mid.gmane.org\/\\1_\' | xclip <enter>" "Copy gmane URL""
# View attachments properly.
bind attach <return> view-mailcap