-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
55 lines (40 loc) · 1.42 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# you need add this to ~/.config/tmux/tmux.conf
# source-file ~/.config/nvim/tmux.conf
# ln -s ~/.config/nvim/tmux.conf ~/.config/tmux/tmux.conf
unbind r
bind r source-file ~/.config/tmux/tmux.conf
# set -g prefix C-b
# setw -g mode-keys vi
# bind-key h select-pane -L
# bind-key j select-pane -D
# bind-key k select-pane -U
# bind-key l select-pane -R
# Add a bit more scroll history in the buffer.
set -g history-limit 50000
# Enable color support inside of tmux.
set-option -g default-terminal "tmux-256color"
set-option -a terminal-features ",xterm-256color:RGB"
# Send xterm compatible control arrow keys so they work with Vim.
setw -g xterm-keys on
set -g mouse on
set -g @yank_selection_mouse 'clipboard'
# set -g @yank_action "copy-pipe"
# set-option -g mouse on
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin 'omerxx/tmux-sessionx'
#
# set -g @sessionx-bind 'o'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-yank'
# prefix + Ctrl-s - save
# prefix + Ctrl-r - restore
# set -g @plugin 'sainnhe/tmux-fzf'
run '~/.config/tmux/plugins/tpm/tpm'