diff options
author | Cody Hiar <cody@hiar.ca> | 2021-05-07 14:10:08 -0600 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2021-05-07 14:10:08 -0600 |
commit | f8716663177cf5767c0093cf75418719a46587d7 (patch) | |
tree | f17ad955e0421940bef3872631926ee3aab5a02e | |
parent | 0b1febe9f810681a78e1dff3e2496f1dbe7692e4 (diff) |
Comment out fzf-tmux not working right now
-rwxr-xr-x | scripts/tmux_session_fzf | 4 | ||||
-rw-r--r-- | stow/tmux/.tmux.conf | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/scripts/tmux_session_fzf b/scripts/tmux_session_fzf index 140a474..4f5a96e 100755 --- a/scripts/tmux_session_fzf +++ b/scripts/tmux_session_fzf @@ -12,9 +12,9 @@ get_active_pane(){ tmux list-windows -t "${SESSION}" | grep '(active)' | cut -c 1 } -TARGET=$(tmux ls | awk -F':' '{print $1}' | fzf-tmux -h) +TARGET=$(tmux ls | awk -F':' '{print $1}' | fzf-tmux) if [[ -n "${TARGET}" ]]; then WINDOW=$(get_active_pane "${TARGET}") echo "${TARGET}:${WINDOW}" >> ~/tmux.log - tmux switch-client -t "${TARGET}:${WINDOW}" + tmux switch-client -t "${TARGET}:${WINDOW}" fi diff --git a/stow/tmux/.tmux.conf b/stow/tmux/.tmux.conf index ba210ec..5749196 100644 --- a/stow/tmux/.tmux.conf +++ b/stow/tmux/.tmux.conf @@ -45,8 +45,11 @@ bind -Tcopy-mode-vi Enter send -X copy-pipe "tmux save-buffer - | xp" # clock mode is over written by sessionist bind C-t clock-mode # Use fzf for switching sessions -unbind s -bind s run-shell '~/.tmux/scripts/tmux_session_fzf' +# There is something wrong with fzf-tmux and tmux 3.2 and hasn't been fixed yet +# https://github.com/junegunn/fzf/pull/2379 +# But I need tmux 3.2 because 3.2-rc was randomly crashing so no fzf-tmux for now +# unbind s +# bind s run-shell '~/.tmux/scripts/tmux_session_fzf' # Renumber the windows bind C-w run-shell "~/.tmux/scripts/window_renum" |