configuration - When scrolling my tmux automatically scroll down -
i using tmux (i connect linux exceed on ssh) added magical set -g terminal-overrides 'xterm*:smcup@:rmcup@'
enable mouse scrolling , works nicely !
though have problem, when scroll middle button reason cursor down page (like if entering q). don't know if refresh thing or...
i add .tmux.conf
file in case
# change prefix key c-a screen , c-a-a send # session within session unbind c-b set -g prefix c-a bind-key send-prefix # toggle last screen bind-key c-a last-window bind-key c-c new-window # readable status line set -g status-bg blue set -g status-right "%y-%m-%d %h:%m:%s" set -g status-interval 1 # misc tweaks #set -g display-time 3000 set -g history-limit 5000 #set -g bell-action #set -g visual-activity on #set -g visual-bell on # sane scrolling set -g terminal-overrides 'xterm*:smcup@:rmcup@' # bellow allow scrolling mouse (enter normal browsing mode automatically) #set -g mode-mouse on
set -g status-right "%y-%m-%d %h:%m:%s"
this config makes tmux update status line every seconds.
Comments
Post a Comment