I am trying to copy from tmux to my browser. I followed the post Copying between tmux buffers and the system clipboard which tells me to addsetw -g mode-keys vibind-key -t vi-copy 'v' begin-selectionbind-key -t vi-copy 'y' copy-selectionbind y run-shell tmux show-buffer | xclip -sel clip -i \; display-message Copied tmux buffer to system clipboard. My new ~/.tmux.conf looks like the below one :setw -g mode-keys viset -g mode-mouse onset-option -g status onset-option -g status-interval 2set-option -g status-utf8 onset-option -g status-justify centreset-option -g status-left-length 60set-option -g status-right-length 90set-option -g status-left #(~/tmux-powerline/powerline.sh left)set-option -g status-right #(~/tmux-powerline/powerline.sh right)set-window-option -g window-status-current-format #[fg=colour235, bg=colour27]?#[fg=colour255, bg=colour27] #I ? #W #[fg=colour27, bg=colour235]?bind-key -t vi-copy 'v' begin-selectionbind-key -t vi-copy 'y' copy-selectionbind y run-shell tmux show-buffer | xclip -sel clip -i \; display-message Copied tmux buffer to system clipboardAfter setup, I triedCtrl-b [ (before copy mode)v (copy mode)y (yank)Ctrl-b y (to move to system buffer)Goto browser and paste with Ctrl-vSeems working upto SETP 4 as I see the message Copied tmux buffer to system clipboardBut pasting somewhere (STEP 5) else is not working.I am using ubuntu 12.04.
copy from tmux to any editor not working
tmux;vi
Same conf (https://github.com/iPrayag/dotfiles/blob/master/.tmux.conf) in June 2014 is working. \,,/ Could be mismatch in configuration before.