tmuxmail, second esc binding for mutt, newsboat updates
authorMart Lubbers <mart@martlubbers.net>
Thu, 30 Jan 2020 07:56:33 +0000 (08:56 +0100)
committerMart Lubbers <mart@martlubbers.net>
Thu, 30 Jan 2020 07:56:33 +0000 (08:56 +0100)
email/.config/mutt/muttrc
newsboat/.config/newsboat/config
shell/.local/bin/tmuxmail

index 7f3a76f..1a73a51 100644 (file)
@@ -25,6 +25,7 @@ send2-hook '((~f m.lubbers@cs.ru.nl)|(~f m.lubbers@science.ru.nl)|(~f mart@cs.ru
        'set sendmail="checkattach.sh msmtp -a ru"'
 
 # Macro for switching to the ru address
+macro compose <esc>1 "<esc>f^UMart Lubbers <mart@martlubbers.net><enter>"
 macro compose <esc>2 "<esc>f^UMart Lubbers <mart@cs.ru.nl><enter>"
 
 # Key bindings
index 1c30cf7..b862419 100644 (file)
@@ -1 +1,3 @@
 browser "firefox %u"
+max-items 50
+refresh-on-startup yes
index 5c7f75a..839abc1 100755 (executable)
@@ -3,5 +3,8 @@ tmux -f ~/.config/tmux/config\
        new-session -s mail -d 'update && offlineimap' \;\
        new-window 'mutt'                              \;\
        new-window 'ssh helheim'                       \;\
-       new-window 'newsboat -r'
+       new-window 'newsboat -r'                       \;\
+       new-session -s work                            \;\
+       attach-session -t mail                         \;\
+       select-window -t:1
 exec tmux attach