tmux vim-like scrolling rendering issue -
i having weird scrolling behavior when try use vim-like page up/page down (ctrl-u, ctrl-d) in tmux more 1 pane. in example picture below, have 2 vertically split panes, , trying page (ctrl-a-[, ctrl-u)in right one.
before page up:
after page up:
there weird re-drawing issues going on, , corrupting both panes. 1 curious thing can scroll line line (ctrl-a-[, arrow-up, ...) fine, , seems redraw correctly.
a similar issue happens when have vertically split vim session (say, nerdtree) , try page up/page down in right pane.
i'm using: terminal app in osx, yosemite 10.10.3, tmux 2.0 (installed via homebrew). happens using tmux 1.9a well.
my .tmux.conf below, note problem exists blank .tmux.conf file.
.tmux.conf:
#set -g utf8 on #set-window-option -g utf8 on # c-b, use in vim ctrl-p's buffer mode # , c-a interferes emacs, i'll try c-q unbind c-b set -g prefix c-a # move between panes bind-key -r "." next-window bind-key -r "," previous-window # note: these require tmux 1.9 or later unbind % bind | split-window -h -c "#{pane_current_path}" bind v split-window -h -c "#{pane_current_path}" bind _ split-window -v -c "#{pane_current_path}" bind s split-window -v -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}" # highlight active window set-window-option -g window-status-current-bg red # set window notifications setw -g monitor-activity on set -g visual-activity on # automatically set window title set-window-option -g automatic-rename on # resize panes vim setw -g mode-keys vi bind h select-pane -l bind j select-pane -d bind k select-pane -u bind l select-pane -r bind -r < resize-pane -l 3 bind -r > resize-pane -r 3 bind -r + resize-pane -u 1 bind -r - resize-pane -d 1 set -g default-terminal 'screen-256color' # display visible indicator of each pane bind-key w display-panes # swap panes bind-key -r j swap-pane -d bind-key -r k swap-pane -u # enable mouse selection in copy mode # setw -g mode-mouse on set-option -g mouse-select-window on set -g mouse-select-pane on set-option -g mouse-resize-pane on # set-option -g mouse-utf8 on # use vi-style key bindings in status line set -g status-keys vi bind-key -t vi-copy 'v' begin-selection bind-key -t vi-copy 'y' copy-selection bind-key -t vi-edit history-up bind-key -t vi-edit down history-down set -s escape-time 0
Comments
Post a Comment