aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-06-15 11:06:13 +0100
committerMatthew Lemon <y@yulqen.org>2023-06-15 11:06:13 +0100
commita5355927c91d4786ba280ec02816a4019e363f13 (patch)
treef86f336a9534a742b70c81453d891fca8ce1a7aa
parent09ea4b4c0af52776b5496541e4cdd7a1b48d8289 (diff)
Updates tmux status for gtd system
-rw-r--r--tmux.conf10
1 files changed, 7 insertions, 3 deletions
diff --git a/tmux.conf b/tmux.conf
index 9256189..9cf5462 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -8,6 +8,9 @@ set-option -g focus-events on
# set shell
#set -g default-shell '/bin/ksh'
+# paste with Ctrl Y
+bind-key -n C-y run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"
+
# command sequence for nested tmux sessions
bind-key a send-prefix
@@ -106,7 +109,8 @@ set -g status-fg colour137
set -g status-style dim
set -g status-left ''
#set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S '
-set -g status-right '[#(TZ="Europe/London" date +"%%Y-%%m-%%d %%H:%%M")]'
+#set -g status-right '[#(TZ="Europe/London" date +"%%Y-%%m-%%d %%H:%%M")]'
+set -g status-right "#(cat /tmp/gtd-tmux) %a %d/%m %I:%M %P"
set -g status-right-length 50
set -g status-left-length 20
@@ -174,7 +178,7 @@ setw -g mode-keys vi
# battery information in status bar
set -g status-interval 40
-set -g status-right "#[fg=colour155]#(apm -l)%% | #[fg=colour45]%d %b %R"
+#set -g status-right "#[fg=colour155]#(apm -l)%% | #[fg=colour45]%d %b %R"
#
## Smart pane switching with awareness of Vim splits.
@@ -209,7 +213,7 @@ bind p paste-buffer
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
-set -g @plugin 'tmux-plugins/tmux-yank'
+#set -g @plugin 'tmux-plugins/tmux-yank'
set -g @resurrect-save 'Q'
set -g @resurrect-restore 'R'