tmux-sidebar
tmux-sidebar copied to clipboard
Works great with vim (How to open?)
How to open files in the sidebar in vim? I am very confused about the works great with vim part.
this sidebar just is tree | less , so , can't open any files.
Same here. I was expected open files directly. Maybe the "work great with vim" is unnecessary in the README file.
You can add the following to your .tmux.conf:
bind -T copy-mode-vi E send -X copy-pipe "tmux split-window -c #{pane_current_path} 'nvim `tmux show-buffer`'"
You can then double click the file you want to open and press E.
(You might need a tree -f to get absolute path)