-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.local
More file actions
74 lines (59 loc) · 1.88 KB
/
.tmux.local
File metadata and controls
74 lines (59 loc) · 1.88 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
set -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
# List of plugins
set -g @tpm_plugins ' \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \
jimeh/tmux-themepack \
samoshkin/tmux-plugin-sysstat \
'
# set -g @onedark_widgets ' #{sysstat_cpu} | #{sysstat_mem} '
#
set -g @themepack 'powerline/block/orange'
set -g default-terminal "tmux-256color"
# Default terminal
set-option -g default-shell /bin/zsh
# Block rename window tmux
set-option -g allow-rename off
# Start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1
#Mouse
set -g mouse on
#Remove confirm kill tab
bind-key x kill-pane
# act like vim
setw -g mode-keys vi
bind h resize-window -L 10
bind j resize-window -D 10
bind k resize-window -U 10
bind l resize-window -R 10
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
#New window on current directory
bind '%' split-window -h -c '#{pane_current_path}' # Split panes horizontal
bind '"' split-window -v -c '#{pane_current_path}' # Split panes vertically
bind c new-window -c '#{pane_current_path}' # Create new window
# switch windows alt+number
bind-key -n M-1 select-window -t 1
bind-key -n M-2 select-window -t 2
bind-key -n M-3 select-window -t 3
bind-key -n M-4 select-window -t 4
bind-key -n M-5 select-window -t 5
bind-key -n M-6 select-window -t 6
bind-key -n M-7 select-window -t 7
bind-key -n M-8 select-window -t 8
bind-key -n M-9 select-window -t 9
set-option -g renumber-windows on
#TMUX bar on top
set-option -g status-position top
set-option -g repeat-time 0
# Removes ESC delay
set -sg escape-time 0
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
# Override bg status bar from plugin
set -g status-bg default
set-option -g status-right ''
set -g status-left "#[fg=colour233,bg=colour130,bold] #S "