I use tmux to organize terminal windows in a project. One of those windows is running vim, where the coding happens. A big chunk of my time is spent writing, running and fixing tests. And so I keep switching back and forth between vim and shell windows. It goes like this: I choose a single test or a test file in vim and it's then sent to another tmux window to run. When the test fails, I want to jump back to vim, with some file from the stacktrace opened.
This should sound familiar to the IDE users: that's what you get when you click on an individual line in a stacktrace in vscode/intellij/etc shell. It's a pretty basic feature. It's also an important one as it removes frictions from the flow.<p>I haven't been able to find this for the vim + tmux combo[*]. And so I had to do it myself[**]. It's a tmux plugin. It's not vim specific and it can open more than just file links. However, as the end result is more generic, it's worth stressing that the main itch to scratch was to support the above workflow.<p>[*]: I've since learned about vim-test[1] with quickfix strategy which sort of fits the bill<p>[**]: For posterity: this wasn't the first attempt. Prior to that I was using a kitty's terminal[2] hints plugin with a bit of python code on top[3], but it really falls short for multi pane windows<p>[1]: <a href="https://github.com/vim-test/vim-test" rel="nofollow">https://github.com/vim-test/vim-test</a><p>[2]: <a href="https://sw.kovidgoyal.net/kitty/" rel="nofollow">https://sw.kovidgoyal.net/kitty/</a><p>[3]: <a href="https://featurist.co.uk/blog/file-links-in-terminal/" rel="nofollow">https://featurist.co.uk/blog/file-links-in-terminal/</a>