diff options
Diffstat (limited to 'tmux.conf')
-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' |