commit a03dc4d2022a13c2edafe0e57c529a523b525423
parent a2b3f134339395ef58de60086315971c08976d5f
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date: Fri, 12 Aug 2016 15:04:48 -0700
Merge branch 'master' of github.com:anders-dc/dotfiles
Diffstat:
4 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/.mutt/muttrc b/.mutt/muttrc
@@ -110,7 +110,7 @@ alternative_order text/plain text/enriched text/html
# files: ';<enter>'
# show email in browser
-macro attach V "<pipe-entry>cat >~/.cache/mutt_mail.html && open ~/.cache/mutt_mail.html && rm ~/.cache/mutt_mail.html<enter>" "show attachment in browser"
+macro attach V "<pipe-entry>cat >~/.mutt_mail.html && open ~/.mutt_mail.html<enter>" "show attachment in browser"
# vi-like movement
bind attach,index gg first-entry
@@ -124,7 +124,7 @@ bind index,pager R group-reply
bind index <tab> sync-mailbox
macro index M "T~N<enter>;WNT~O<enter>;WO\CT~T<enter>" "Mark all messages as read"
-
+macro index \ f "l~F<enter>" "Show only flagged messages"
# Macros to change between inboxes (e.g. SPACE 1), use noop editor to accept
# IMAP folders with spaces
diff --git a/.tmux.conf b/.tmux.conf
@@ -6,6 +6,10 @@ bind-key C-a last-pane # Go to last pane with C-SPC C-a
#bind-key C-w last-window # Go to last window with C-b C-w
#bind-key C-b last-pane # Go to last pane with C-b C-b
+# enable reattach-to-user-namespace which fixes pasteboard access and launchctl
+# inside tmux
+set-option -g default-command "reattach-to-user-namespace -l zsh"
+
set -g default-terminal "screen-256color"
setw -g mode-keys vi
@@ -78,17 +82,16 @@ set -g pane-base-index 1 # start pane numbering at 1
set -g renumber-windows on # renumber remaining windows when a window is closed
# mouse behavior (pre 2.1)
-setw -g mode-mouse on
-set -g mouse-select-pane on
-set -g mouse-resize-pane on
-set -g mouse-select-window on
+#setw -g mode-mouse on
+#set -g mouse-select-pane on
+#set -g mouse-resize-pane on
+#set -g mouse-select-window on
# mouse behavior (2.1+)
set -g mouse on
-
-setw -g utf8 on
-setw -g status-utf8 on
+#setw -g utf8 on
+#setw -g status-utf8 on
setw -g automatic-rename on
# Allows us to use C-a a <command> to send commands to a TMUX session inside
diff --git a/bin/uu b/bin/uu
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
UNAMESTR=`uname`
if [[ "$UNAMESTR" == 'Darwin' ]]; then
diff --git a/bitbar-plugins/clock.5s.sh b/bitbar-plugins/clock.5s.sh
@@ -1,2 +1,2 @@
#!/bin/bash
-date +'%H:%m:%S'
+date +'%H:%M:%S'