-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
33 lines (23 loc) · 1.27 KB
/
tmux.conf
File metadata and controls
33 lines (23 loc) · 1.27 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
unbind C-a
set -g prefix C-j
bind-key C-j send-prefix
unbind-key -n C-a
bind-key ^u copy-mode
bind-key j new-window
bind-key '"' split-window -c '#{pane_current_path}'
bind-key '%' split-window -h -c '#{pane_current_path}'
set-window-option -g mode-keys vi
#set-option -g default-command "reattach-to-user-namespace -l bash"
set-option -g status-right "[#(acpi --battery | grep -oE '(Discharging|Charging|Unknown), [0-9.]+%')] #{=21:pane_title} %H:%M:%S %d-%b-%y"
#set -g repeat-time 10
#set-window-option -g window-status-current-format '#[fg=white,bold]** #{window_index} #[fg=green]#{pane_current_command} #[fg=blue]#(echo "#{pane_current_path}" | rev | cut -d'/' -f-3 | rev) #[fg=white]**|'
#set-window-option -g window-status-format '#[fg=white,bold]#{window_index} #[fg=green]#{pane_current_command} #[fg=blue]#(echo "#{pane_current_path}" | rev | cut -d'/' -f-3 | rev) #[fg=white]|'
# set-window-option -g window-status-bg colour10
# set-window-option -g window-status-current-bg colour10
# set-window-option -g window-status-current-fg colour1
set-option -g status-interval 5
set-option -g automatic-rename on
set-option -g automatic-rename-format '#{b:pane_current_path}'
set -s escape-time 0
#set -sa terminal-overrides ",xterm-256color:Tc"
set -as terminal-overrides ',*:Sxl'