4 ms·
setw -g mode-mouse on setw -g mouse-select-window on setw -g mouse-select-pane on setw -g mouse-resize-pane on
by RobSis 14y ago
setw -g mode-mouse on
setw -g mouse-select-window on
setw -g mouse-select-pane on
setw -g mouse-resize-pane on
- CJefferson 14y agoThanks. On a random note, why do all unix applications (generalising I know) seem to default to a super-minimal set of options? Surely the kind of people who get annoyed by mouse integration (and you can just ignore it) are the kind of people who can find out how to turn it on, whereas those of us who are using tmux for the first time want all the nice options turned on by default?
- natermer 14y agobecause people want to be able to use whatever terminal program with the terminal of their choice, even if their choices are wrong and/or insane. Although thank goodness for HN. Now I am aware of tmux mouse-mode and this makes things glorious. Now I just need to figure out a slick way to take the tmux selection and connect it to X's primary clipboard and I will be happy.
- moe 14y agoSadly this still leaves you with a rather crippled subset of the real thing. I.e. "copy mode" instead of proper scrolling, no native text selection, and very noticeable latency and glitches. It's the price you pay for emulating a 35 years old piece of hardware[1] inside an emulator of the same... [1] http://en.wikipedia.org/wiki/VT100 http://en.wikipedia.org/wiki/VT100
- RobSis 14y agoI wouldn't call the copy-mode "crippled subset of the real thing". With tmux's copy-mode, you can even select text without touching your mouse, using e.g. vim-like movements. Which is amazing feature. The fact, that the copy-mode doesn't jump back down with every change on stdout is also very nice feature. If you want to work with standard linux clipboard, you still can - just hold shift and select like in almost any linux TUI application.
- Goranek 14y agoi cannot force this to work on urxvt :/
- RobSis 14y agoWell, it does work with urxvt. Since you provided nothing about your configuration, I can't tell you what's the problem.
- deleted 14y ago[deleted]