-
Notifications
You must be signed in to change notification settings - Fork 7
/
.tmux.conf
36 lines (28 loc) · 1.14 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
# Set zsh to default shell
set -g default-shell "/usr/bin/zsh"
# tmux theme
source-file "$HOME/.local/share/tmux/theme-pack-jimeh/basic.tmuxtheme"
# Set to allow for vim-airline to display properly
set -g default-terminal screen-256color
# Mouse resize, select pane, select window, right click menu
set -g mouse on
# Search mode vi
set-window-option -g mode-keys vi
set -g history-limit 50000
set -g allow-rename off
# keybinds
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
# Join / send panes to windows
bind-key j command-prompt -p "Join pane from: " "join-pane -s '%%'"
bind-key s command-prompt -p "Send pane to: " "join-pane -t '%%'"
# tmux logging plugin
# prefix + shift + p -- log current pane start/stop
# prefix + alt + shift + p -- save complete pane history
set -g @plugin 'tmux-plugins/tmux-logging'
# TPM - Yank
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-yank'
bind -T copy-mode C-c send -X copy-pipe-no-clear "xsel -i --clipboard"
bind -T copy-mode-vi C-c send -X copy-pipe-no-clear "xsel -i --clipboard"
# Initialize TPM, keep at bottom
run '/usr/share/tmux-plugin-manager/tpm'