Created
April 9, 2013 13:31
-
-
Save barn/5345701 to your computer and use it in GitHub Desktop.
Use this in mutt a like so:
macro index <esc>g "<enter-command>unset wait_key<enter>|load_me_in_gmail.sh\n"
macro pager <esc>g "<enter-command>unset wait_key<enter>|load_me_in_gmail.sh\n" and now ESC-g will load a search in your "web browser" pointing at the message you had highlighted. (Can you jump straight to it?)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# I think this will take STDIN and do magic with it. | |
open "https://mail.google.com/mail/u/0/#search/rfc822msgid:$( awk 'tolower($0) ~ /^message-id: / {print $2}' | tr -d '[><]')%20in:anywhere" & >/dev/null 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment