Recently tmux changed a lot of mouse stuff for the better.I've got a bit stuck however because I need to havebind -n WheelUpPane if-shell -F -t = #{mouse_any_flag} send-keys -M if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'bind -n WheelDownPane select-pane -t= \; send-keys -Min order to be able to scroll up and down in OSXHowever having those lines in my .tmux.conf (that I like to share between OS's) in Ubuntu leads to /home/durrantm/.tmux.conf:75: unknown key: WheelUpPane                                                   [0/0]/home/durrantm/.tmux.conf:76: unknown key: WheelDownPaneand if I remove them then I can't scroll in OSX when I apply changes withtmux source-file ~/.tmux.conf
tmux - Catch 22 with unknown key: WheelUpPane for osx and Ubuntu
tmux