diff options
author | Matthew Lemon <y@yulqen.org> | 2023-06-15 11:06:13 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-06-15 11:06:13 +0100 |
commit | a5355927c91d4786ba280ec02816a4019e363f13 (patch) | |
tree | f86f336a9534a742b70c81453d891fca8ce1a7aa | |
parent | 09ea4b4c0af52776b5496541e4cdd7a1b48d8289 (diff) |
Updates tmux status for gtd system
-rw-r--r-- | tmux.conf | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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' |