Hacker News new | ask | show | jobs
by RobSis 4840 days ago
setw -g mode-mouse on

setw -g mouse-select-window on

setw -g mouse-select-pane on

setw -g mouse-resize-pane on

3 comments

Sadly 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

I 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.

Thanks.

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?

i cannot force this to work on urxvt :/
Well, it does work with urxvt. Since you provided nothing about your configuration, I can't tell you what's the problem.