From c8e1ad9261c66402b4775032c97d813825930cd5 Mon Sep 17 00:00:00 2001 From: Tony Blyler <tony.blyler@cbinsights.com> Date: Fri, 13 May 2022 14:55:48 -0400 Subject: [PATCH 1/2] Fix labelling of global-jump-to-pane for .tmux.conf --- chezmoi/dot_tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chezmoi/dot_tmux.conf b/chezmoi/dot_tmux.conf index f88ae80..84bd630 100644 --- a/chezmoi/dot_tmux.conf +++ b/chezmoi/dot_tmux.conf @@ -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 jump-to-pane --preview 'tmux capture-pane -pt {1}' |\ + fzf --reverse --header global-jump-to-pane --preview 'tmux capture-pane -pt {1}' |\ awk '{print $1}' |\ xargs tmux switch-client -t" From 8629c26d9c45e2915e132bdb39b3fd4fcbb114c7 Mon Sep 17 00:00:00 2001 From: Tony Blyler <tony.blyler@cbinsights.com> Date: Fri, 13 May 2022 14:56:05 -0400 Subject: [PATCH 2/2] Add zcalc zsh module to ~/.zshrc --- chezmoi/dot_zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chezmoi/dot_zshrc b/chezmoi/dot_zshrc index dfd1502..ed089eb 100644 --- a/chezmoi/dot_zshrc +++ b/chezmoi/dot_zshrc @@ -9,7 +9,8 @@ autoload -Uz \ colors \ compinit \ select-word-style \ - vcs_info + vcs_info \ + zcalc # make control w remove by word better select-word-style bash