Tmux changes

This commit is contained in:
Ian Keane 2022-06-25 09:53:11 -04:00
parent 5ed87abf2a
commit 37527ea66d

View file

@ -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