Compare commits

..

No commits in common. "8629c26d9c45e2915e132bdb39b3fd4fcbb114c7" and "155f6e7b1f4094e0d0e663483f6d19e9a55cd832" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View file

@ -100,7 +100,7 @@ bind C-k new-window -n "global-pane-switcher" "\
CURRENT_INFO=\"\$(tmux display-message -p '0:#{pane_active}:#{session_id}:#{window_index}.#{pane_index}')\";\
tmux list-panes -aF '#{window_last_flag}:#{pane_active}:#{session_id}:#{window_index}.#{pane_index} #{session_name} > #{window_name} > #{pane_title}' |\
awk -v cur_info_raw=\"\$CURRENT_INFO\" 'BEGIN{split(cur_info_raw,cur_info,\":\")} {split($1,this_info,\":\"); if($1 == cur_info_raw || (this_info[1] && this_info[3] == cur_info[3] && this_info[2] == cur_info[2])) next; print gensub(\"^[01]:[01]:\",\"\",1)}' |\
fzf --reverse --header global-jump-to-pane --preview 'tmux capture-pane -pt {1}' |\
fzf --reverse --header jump-to-pane --preview 'tmux capture-pane -pt {1}' |\
awk '{print $1}' |\
xargs tmux switch-client -t"

View file

@ -9,8 +9,7 @@ autoload -Uz \
colors \
compinit \
select-word-style \
vcs_info \
zcalc
vcs_info
# make control w remove by word better
select-word-style bash