forked from hemulin/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
28 lines (22 loc) · 1.1 KB
/
.tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
bind-key b send-prefix
# Increase history buffer size to 50K
set-option -g history-limit 50000
# Use vim keybindings in copy mode
setw -g mode-keys vi
# Move tmux copy mode selection into clipboard
unbind -t vi-copy Enter
bind -t vi-copy Enter copy-pipe "xclip -selection clipboard"
# If on, ring the terminal bell when an activity, content
# or silence alert occurs.
set -g bell-on-alert on
# If this option is on, a message is shown on a bell
# instead of it being passed through to the terminal (which
# normally makes a sound). Also see the bell-action
# option.
#set -g visual-bell on
# mouse scrolling
set -g mouse on
# to enable mouse scroll, see https://github.com/tmux/tmux/issues/145#issuecomment-150736967
#bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'"
#bind -n WheelUpPane if "[[ #{pane_current_command} =~ vim ]]" "select-pane -t = ; send-keys -M" "select-pane -t = ; send-keys Up"
#bind -n WheelDownPane if "[[ #{pane_current_command} =~ vim ]]" "select-pane -t = ; send-keys -M" "select-pane -t = ; send-keys Down"