You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now go into copy mode, highlight ~/.tmux.conf and hit Ctrl+o.
Expected behaviour: My Tmux configuration is opened in Vim.
Actual behaviour: Vim opens a new file "~/.tmux.conf"
The cause is pretty clear (quotes around {} in the xargs expansion), but removing the quotes is clearly not correct. Digging a bit deeper, I learned that tilde expansion is much more complicated than I was aware (e.g. http://stackoverflow.com/a/29310477). Do you have any ideas how to solve this cleanly? Apologies if I have misdiagnosed the problem.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
$ ls ~/.tmux.conf /home/smattr/.tmux.conf $
Now go into copy mode, highlight
~/.tmux.conf
and hitCtrl+o
.Expected behaviour: My Tmux configuration is opened in Vim.
Actual behaviour: Vim opens a new file
"~/.tmux.conf"
The cause is pretty clear (quotes around
{}
in thexargs
expansion), but removing the quotes is clearly not correct. Digging a bit deeper, I learned that tilde expansion is much more complicated than I was aware (e.g. http://stackoverflow.com/a/29310477). Do you have any ideas how to solve this cleanly? Apologies if I have misdiagnosed the problem.The text was updated successfully, but these errors were encountered: