-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
36 lines (28 loc) · 912 Bytes
/
.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
29
30
31
32
33
34
35
36
# Send prefix
set-option -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
# Use Alt-arrow keys to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Shift arrow to switch windows
bind -n S-Left previous-window
bind -n S-Right next-window
# Mouse mode
#set -g mouse on
# Set easier window split keys
bind-key v split-window -h
bind-key h split-window -v
# freestyle
set -g default-terminal "screen-256color"
#set-option -g default-command "reattach-to-user-namespace -l zsh"
#bind-key -T vi-copy v begin-selection
#bind-key -T vi-copy y copy-pipe "xclip -sel clip -i"
#bind-key -T vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
# Easy config reload
bind-key r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded"
set -g default-shell /bin/zsh
set -g default-command /bin/zsh
setw -g mode-keys vi