aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.mutt/mailcap5
-rw-r--r--.mutt/muttrc6
-rw-r--r--.offlineimaprc8
-rw-r--r--.tmux.conf10
4 files changed, 18 insertions, 11 deletions
diff --git a/.mutt/mailcap b/.mutt/mailcap
index d531285..ef8857c 100644
--- a/.mutt/mailcap
+++ b/.mutt/mailcap
@@ -103,6 +103,11 @@ image/*; ~/.mutt/mutt_bgrun.sh feh %s; \
video/*; ~/.mutt/mutt_bgrun.sh vlc %s; \
test=sh -c 'test -n "${DISPLAY}"'
+# Open scripts
+application/x-shellscript; ~/.mutt/mutt_bgrun.sh gvim -f %s; \
+ test=sh -c 'test -n "${DISPLAY}"'
+application/x-shellscript; vim %s
+
# Show archive conents.
#
application/x-compressed-tar; tar -tf %s; copiousoutput
diff --git a/.mutt/muttrc b/.mutt/muttrc
index cf30a88..6b369bb 100644
--- a/.mutt/muttrc
+++ b/.mutt/muttrc
@@ -114,7 +114,7 @@ set status_chars = " *%A"
set status_format = "---[ Folder: %f %r ]---[ Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l? ]---%>-(%P)---"
### Pager
-#set pager_format = "-%S- %-20.20f %s"
+set pager_format = "[%Z] %C/%m: %-20.20n | %s%* -- (%P)"
set pager_index_lines = 8 # number of index lines to show
set pager_context = 8 # number of context lines to show
set pager_stop # don't go to next message automatically
@@ -127,16 +127,17 @@ alternative_order text/plain text/enriched text/html
### Key bindings
bind index i noop
-bind index <TAB> sync-mailbox
bind index <SPACE> collapse-thread
bind index p recall-message
bind index K previous-unread
bind index J next-unread
bind index,browser gg first-entry
bind index,browser G last-entry
+#bind index,pager D delete-message
bind index,pager R group-reply
bind index,pager N search-opposite
bind index,pager \# noop
+bind index,pager <TAB> sync-mailbox
bind pager i exit
bind pager / search
bind pager <UP> previous-line
@@ -147,6 +148,7 @@ bind pager gg top
bind pager G bottom
bind pager K previous-undeleted
bind pager J next-undeleted
+bind pager \Cj next-unread
bind attach <RETURN> view-mailcap
bind compose p pgp-menu
bind editor <TAB> complete-query
diff --git a/.offlineimaprc b/.offlineimaprc
index 9799647..5293156 100644
--- a/.offlineimaprc
+++ b/.offlineimaprc
@@ -26,7 +26,7 @@ accounts = gmail-aly, gmail-li, outlook-aly, outlook-li, sjtu, autistici
maxsyncaccounts = 6
#
# UI: blinkenlights, ttyui, quiet (suppress anything but errors)
-ui = TTY.TTYUI, Noninteractive.Basic, Noninteractive.Quiet
+ui = ttyui
[Account example]
@@ -70,7 +70,7 @@ remoterepository = gmail-aly-remote
status_backend = sqlite
autorefresh = 30
quick = 5
-postsynchook = ~/.offlineimap/postsync.sh
+#postsynchook = ~/.offlineimap/postsync.sh
#
[Repository gmail-aly-local]
type = Maildir
@@ -116,7 +116,7 @@ remoterepository = outlook-aly-remote
status_backend = sqlite
autorefresh = 30
quick = 5
-postsynchook = ~/.offlineimap/postsync.sh
+#postsynchook = ~/.offlineimap/postsync.sh
#
[Repository outlook-aly-local]
type = Maildir
@@ -188,7 +188,7 @@ remoterepository = autistici-remote
status_backend = sqlite
autorefresh = 60
quick = 5
-postsynchook = ~/.offlineimap/postsync.sh
+#postsynchook = ~/.offlineimap/postsync.sh
#
[Repository autistici-local]
type = Maildir
diff --git a/.tmux.conf b/.tmux.conf
index a77b8a4..33cd481 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -58,10 +58,10 @@ bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
## Mouse support
-set-window-option -g mode-mouse on
-set-option -g mouse-select-window on
-set-option -g mouse-select-pane on
-set-option -g mouse-resize-pane on
+#set-window-option -g mode-mouse on
+#set-option -g mouse-select-window on
+#set-option -g mouse-select-pane on
+#set-option -g mouse-resize-pane on
## Set the default terminal mode
set-option -g default-terminal "screen-256color"
@@ -118,7 +118,7 @@ set-option -g status-style "bg=default"
set-option -g status-justify centre
set-option -g status-left-length 30
set-option -g status-right-length 30
-set-option -g status-left " #[fg=yellow,bold]#H:#[fg=blue,bold]#S #[fg=magenta,bold]|#[default]"
+set-option -g status-left " #[fg=yellow,bold]#h:#[fg=blue,bold]#S #[fg=magenta,bold]|#[default]"
set-option -g status-right "#[fg=magenta,bold]| #[fg=yellow,bold]%a %m/%d #[fg=blue,bold]%H:%M "
set-window-option -g window-status-style "fg=blue,bold"