Was working initially but after killing my tmux session I installed from, and creating a new session, Treemux wont open again.
After closing and killing the tmux session that I initially used to install my plugins, treemux was initially working fine, albeit not opening files (that had to do more with me not exporting snap to my path to launch nvim), however after launching a new session I can not reopen treemux. After setting the debug flag that I found after a google search to try to find a fix for this issue I have this response.
nvim
/root/.tmux/plugins/treemux/scripts/nvim
tree/watch_and_update.sh %12 %21 /root/.
config/nvim /tmp/kiyoon-tmux-treemux-%12
.qk0uHa 0.5 2 @treemux-refresh-interval-
inactive-window nvim /usr/bin/python3
OSTYPE: linux-gnu
tmux 3.4
Watching main pane (pid = 49495)
Side pane %21 not found. Exiting.
If this is not enough, or if there is other troubleshooting steps I can take it would be greatly appreciated. Was trying to get it sorted before I worked on my nvim config.
Hi, the error comes from this line:
https://github.com/kiyoon/treemux/blob/c936b697ce5f46d6bae390ffc79295c2aa6cab2c/scripts/nvimtree/watch_and_update.sh#L56-L60
You can maybe print the command output by changing the code ~/.tmux/plugins/treemux/scripts/nvimtree/watch-and_update.sh, or run the tmux display -pt %12 '#{pane_pid}' to see what happens.
Each pane has its unique ID. You can configure .tmux.conf to see this explicitly which helps debugging.
set -g pane-border-status top
set -g pane-border-format "#[fg=#6272a4,bg=default]#[fg=#f8f8f2,bg=#6272a4] .#P (#D) pid=#{pane_pid} #{pane_current_command} #[fg=#6272a4,bg=default]"
This will show a top window title like this: