Hello,

I recently switched to tmux.

I didn't find a way to set MODE_INSERT, I doubt it's feasible to
toggle that. If I could set MODE_INSERT, I wouldn't need a new config
option to fix the common case of my workflow.

On forums I read questions searching for a solution and the answer was
that it can't be done without changing tmux code so I changed tmux and
now I wonder if this is acceptable upstream.

After patching tmux I do this:

set-window-option -g screen-no-collect on
set-option -sga terminal-overrides ",xterm*:smcup@:rmcup@"

and now konsole shift+PPage scrollup and wheelup works as good as
before.

I don't like to press "shift" before doing double-click+drag with the
trackball to select word by word (not from the middle of the word the
moment I start dragging after a doubleclick like it happens with
select-word, there's no drag-word available as an option in tmux).

I also like to scrollup on remote tmux inside local tmux without
paying the RTT for every PageUp after having to press "C-a a PPage"
instead of just doing shift+PageUp like if the remote tmux was running
local, because all remote data is already downloaded at high bandwidth
on my konsole buffer.

The terminal scrollup and mouse selection can't be perfect when using
multiple panes in a windows or after a window change. In those
uncommon cases where I can't use the local konsole buffer, I use
copy-mode to scrollup.

The patch adds zero CPU overhead to the fast path of the default
setting.

Thank you,
Andrea

Andrea Arcangeli (1):
  Add screen-no-collect window option to avoid write collection

 cmd-set-option.c | 14 ++++++++++++++
 options-table.c  |  6 ++++++
 screen-write.c   |  2 +-
 tmux.h           |  1 +
 window.c         |  3 +++
 5 files changed, 25 insertions(+), 1 deletion(-)

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to