-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
44 lines (33 loc) · 1.63 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
set -g default-command "${SHELL}" # disable tmux starting a login shell by default
set -g base-index 1 # start window index at 1 instead of 0
set -g history-limit 20000 # increase history from 2_000 to 20_0000
set -g renumber-windows on # renumber windows after any window is terminated
set -g set-clipboard on # enable system clipboard
set -g status-position bottom # position status on botton (default)
setw -g mode-keys vi
set-option -g prefix C-a # set prefix to ctrl-a
bind-key C-a send-prefix # bind ctrl-a to send-prefix
unbind C-b # disable ctrl-b as default prefix
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key g new-window "$HOME/dev/tmux-sshenizer/tmux-sshenizer.sh \"$(tmux display -p '#S')\""
# List of plugins
set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.config/tmux/plugins/'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin "janoamaral/tokyo-night-tmux"
set -g @plugin 'tmux-plugins/tmux-resurrect'
# 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'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.config/tmux/plugins/tpm/tpm'
# colorscheme
set -g @tokyo-night-tmux_window_id_style digital
set -g @tokyo-night-tmux_pane_id_style hsquare
set -g @tokyo-night-tmux_zoom_id_style dsquare