From 37527ea66dbf62f7987f5fa5661fa545e5838d50 Mon Sep 17 00:00:00 2001 From: Ian Keane Date: Sat, 25 Jun 2022 09:53:11 -0400 Subject: [PATCH] Tmux changes --- dotfiles/tmux/.config/tmux/tmux.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dotfiles/tmux/.config/tmux/tmux.conf b/dotfiles/tmux/.config/tmux/tmux.conf index 3e2e19b..f33238b 100644 --- a/dotfiles/tmux/.config/tmux/tmux.conf +++ b/dotfiles/tmux/.config/tmux/tmux.conf @@ -5,6 +5,7 @@ set -g default-terminal "screen-256color" # set-window-option -g automatic-rename on set-window-option -g mode-keys vi + # bind h split-window -h -c "#{pane_current_path}" # bind v split-window -v -c "#{pane_current_path}" # bind w new-window @@ -37,7 +38,7 @@ set -g escape-time 0 set -g mouse on set-option -g status-right-length 140 -set-option -g status-right "#(curl 'wttr.in/?format=%%c%%t%%20')|#[bg=default] %a %l:%M %p#[default]#(curl 'wttr.in/?format=%%20%%m%%20(%%M)') |#(sugar --tmux)#[bg=default]" +set-option -g status-right "#(curl 'wttr.in/?format=%%c%%t%%20')|#[bg=default] %a %l:%M %p#[default]#(curl 'wttr.in/?format=%%20%%m%%20(%%M)%') |#(sugar --tmux)#[bg=default]" set-option -g status-left-length 140 set-option -g status-left " Session: #[bold,fg=green,bg=black] #S #[fg=black,bg=green] " @@ -47,4 +48,9 @@ set-option -g window-status-current-format '#[bold,fg=green,bg=black] #{window_n set-option -g window-status-format '#{window_name}' bind t popup "tmux new-session -A -s tasks 'vit list'" -bind j popup "tmux new-session -A -s jira 'jira issue list -a(jira me)'" +# bind J popup "tmux new-session -A -s jira 'jira issue list -a(jira me)'" +# bind j popup "tmux new-session -A -s jira 'jira issue list -P (git branch --show-current)'" +bind j popup "tmux new-session -A -s jira 'jira issue list --order-by key --reverse -P (jira issue list -t story -a (jira me) --plain --no-headers | fzf | cut -f2)'" + +set-option -t jira status off +set-option -t tasks status off