tmux, async email
authorMart Lubbers <mart@martlubbers.net>
Tue, 17 Apr 2018 05:42:44 +0000 (07:42 +0200)
committerMart Lubbers <mart@martlubbers.net>
Tue, 17 Apr 2018 05:42:44 +0000 (07:42 +0200)
email/.config/offlineimap/config
email/.mutt/muttrc
shell/.bashrc
shell/.config/tmux/config

index 0fd5652..1ccd752 100644 (file)
@@ -7,6 +7,8 @@ ui = quiet
 [Account net]
 localrepository = Local
 remoterepository = Remote
+autorefresh = 0.5
+quick = 10
 postsynchook = notmuch new
 #proxy = SOCKS5:localhost:8008
 
@@ -22,6 +24,8 @@ remotehost = lubbers.email
 remoteuser = mart@martlubbers.net
 ssl = yes
 sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+keepalive = 60
+holdconnectionopen = yes
 
 [mbnames]
 enabled = yes
index b197c42..5b4c18c 100644 (file)
@@ -15,7 +15,7 @@ source ~/.mutt/mailboxes
 # Receiving, sending and searching
 set sendmail="/home/mrl/.mutt/checkattach.sh msmtp -C /home/mrl/.config/msmtp/config"
 set send_charset="us-ascii:utf-8"
-macro index,pager $ "<shell-escape>offlineimap &<enter><sync-mailbox>" "Force refresh"
+macro index,pager $ "<shell-escape>/home/mrl/.mutt/force_sync.sh<enter><sync-mailbox>" "Force refresh"
 macro attach B "<pipe-entry>firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"<enter>"
 send2-hook "~f mart@martlubbers.net" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a net\""
 send2-hook "~f m.lubbers@cs.ru.nl" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a ru\""
index bce6795..6e186aa 100644 (file)
@@ -32,6 +32,8 @@ alias grep='grep --color=auto'
 alias vi=vim
 alias tmux='tmux -f ~/.config/tmux/config'
 
+. /etc/bash_completion
+
 set_prompt(){
        last_c=$?
        PS1='\u@\h'
index f02f3a2..7bf6ba8 100644 (file)
@@ -11,6 +11,9 @@ bind l select-pane -R
 
 # i3 window splitting
 unbind %
-unbind "
-bind v split-window -v
-bind h split-window -h
+unbind '"'
+bind V split-window -v
+bind H split-window -h
+
+# Start not at index 0 but at one for windows
+set -g base-index 1