forked from artemave/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
40 lines (31 loc) · 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
29
30
31
32
33
34
35
36
37
38
39
40
# remap prefix to Control + a
unbind C-b
set -g prefix 'C-\'
bind 'C-\' send-prefix
set-window-option -g mode-keys vi
# Setup 'v' to begin selection as in Vim
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-pipe "xclip"
set-option -g base-index 1
unbind-key L
bind-key J resize-pane -D 5
bind-key K resize-pane -U 5
bind-key H resize-pane -L 5
bind-key L resize-pane -R 5
set -g status-left "[#S] "
bind S command-prompt -p "Host?" "new-window -n 'ssh:%1' 'ssh %1'"
if-shell 'test "$(uname)" = "Darwin"' 'source ~/.tmux-osx.conf'
# List of plugins
# Supports `github_username/repo` or full git repo URLs
set -g @tpm_plugins ' \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \
jbnicolai/tmux-fpp \
'
# Other examples:
# github_username/plugin_name \
# [email protected]/user/plugin \
# [email protected]/user/plugin \
# Initializes TMUX plugin manager.
# Keep this line at the very bottom of tmux.conf.
run-shell '~/.tmux/plugins/tpm/tpm'