Skip to content

Commit

Permalink
tmux - fix scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyblundell committed Jan 11, 2017
1 parent 38245a2 commit 6b97c96
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dotfiles/tmux.conf
Expand Up @@ -22,9 +22,13 @@ set-option -g window-status-current-fg black
set-option -g window-status-format " #I #W "
set-option -g window-status-current-format " #I #W "

# Scroll with mouse & vim keys
# Scroll with mouse
set-option -g mouse on
bind-key -t vi-copy WheelUpPane scroll-Up
bind-key -t vi-copy WheelDownPane scroll-down

# Use Vim keybindings in copy mode
set-window-option -g mode-keys vi
set-window-option -g mouse on

# Disable repeat when switching panes
bind-key Up select-pane -U
Expand Down

0 comments on commit 6b97c96

Please sign in to comment.