From 1ff8823c348a92334f3332bfe2863dd191fb31eb Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 9 Sep 2020 17:08:11 +0100 Subject: further tweaks for mut including adding urlview --- muttrc | 23 ++++++++++++++++++++++- urlview | 2 +- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/muttrc b/muttrc index 65fa3a0..f64dfdb 100644 --- a/muttrc +++ b/muttrc @@ -99,8 +99,29 @@ set sort_re # thread based on regex set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*" # Index Key Bindings --------------------------------- -bind index 0 first-entry +bind index g noop +bind index gg first-entry bind index G last-entry +bind pager g noop +bind pager gg top +bind pager G bottom + +# Display links in a web site in a compact list, allowing for web browser viewing +# The urlview program will run ~/bin/url_handler.sh which will then run a +# browser that is specified at the start of the script; currently using Firefox +macro index,pager \cb 'urlview' 'Follow links with urlview' +macro attach,compose \cb 'urlview' 'Follow links with urlview' + +# Folder Shortcuts +macro index Ei '+matt-matthewlemon.com/INBOX' 'Go to Inbox' +macro index Ea '+matt-matthewlemon.com/Archive' 'Go to Archive' +macro index Es '+matt-matthewlemon.com/Sent\ Items' 'Go to Sent Mail' + +# Navigate threads +bind index { previous-thread +bind pager { half-up +bind index } next-thread +bind pager } half-down bind index R group-reply bind index sync-mailbox diff --git a/urlview b/urlview index 823fa9f..b7bc9c3 100644 --- a/urlview +++ b/urlview @@ -1 +1 @@ -COMMAND quotebrowser %s & +COMMAND chrome %s & -- cgit v1.2.3