Hi all, Sorry if this gets asked all the time, but a (really) cursory search through the archives didn't turn anything up. Is there a way to define my own functions in my .tmux.conf and bind keys to them? In particular, I want to be able to do a sequence of commands that's a mix of tmux commands and shell commands, so it won't suffice to just make a shell script and bind a key to run-shell my-command.
In particular, the case I want is to be able to easily share between a tmux paste buffer and the system clipboard; is there a simple way to set this up? The best I've figured out is to save-buffer to a file, then xclip -i that file for one direction, and xclip -o ; load-buffer for the reverse direction. Is there a classier way to do this? (I'm fine obliterating my x selection when I do a tmux copy.) Thanks! -cc ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users