Micah Cowan wrote: > The following should bind <prefix> J to join the current (already > finished) selection with spaces: > > bind-key J run-shell 'tmux save-buffer /tmp/.tmux-exchange; tr \n " " < > /tmp/.tmux-exchange >/tmp/.tmux-exchange-processed; tmux load-buffer > /tmp/.tmux-exchange-processed'
I tried, seems it has to be \\n instead of \n. Your idea helps a lot for the time beeing, thanks! And thanks also to Robin Lee Powell for his explanations. clemens ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users