diff options
author | Shubham Saini <ssaini@fispan.com> | 2023-01-13 21:01:46 +0000 |
---|---|---|
committer | Shubham Saini <ssaini@fispan.com> | 2023-01-13 21:02:30 +0000 |
commit | f37c4809e698a82bd07934b0f701e6af2224e32a (patch) | |
tree | ac04e4e76242e8ba4a4dfa636f1ee232ea666d7d | |
parent | bce233a4370cd8a1d5f50dc36aa47b220df89c16 (diff) |
tmux: updated config
-rwxr-xr-x | tmux/.tmux.conf | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 7730a8c..a14d7e2 100755 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf | |||
@@ -1,4 +1,5 @@ | |||
1 | set -g default-terminal "tmux-256color" | 1 | set -g default-terminal "xterm-256color" |
2 | set -g history-limit 50000 | ||
2 | set -g base-index 1 | 3 | set -g base-index 1 |
3 | set -s escape-time 0 | 4 | set -s escape-time 0 |
4 | set -g mouse on | 5 | set -g mouse on |
@@ -10,6 +11,7 @@ bind j select-pane -D | |||
10 | bind k select-pane -U | 11 | bind k select-pane -U |
11 | bind l select-pane -R | 12 | bind l select-pane -R |
12 | bind r source-file ~/.tmux.conf | 13 | bind r source-file ~/.tmux.conf |
14 | |||
13 | # Enable vi keys. | 15 | # Enable vi keys. |
14 | setw -g mode-keys vi | 16 | setw -g mode-keys vi |
15 | 17 | ||
@@ -25,16 +27,18 @@ unbind p | |||
25 | bind p paste-buffer | 27 | bind p paste-buffer |
26 | 28 | ||
27 | set-option -g status-position top | 29 | set-option -g status-position top |
28 | set -g pane-border-style fg=colour15 | 30 | set -g pane-border-style fg=colour8 |
29 | set -g pane-active-border-style fg=colour8 | 31 | set -g pane-active-border-style fg=colour8 |
30 | 32 | ||
31 | set -g status-justify right | 33 | set -g status-justify right |
32 | set -g status-right "" | 34 | set -g status-right "" |
33 | set -g status-style "bg=colour0" | 35 | set -g status-left "" |
36 | set -g status-style "bg=default" | ||
34 | set -ag status-style "fg=colour7" | 37 | set -ag status-style "fg=colour7" |
35 | 38 | ||
36 | set -g window-status-current-format "#[fg=colour15] #W" | 39 | set -g window-status-current-format "#[fg=colour15] #W" |
37 | set -g window-status-format "#[fg=colour8] #W" | 40 | set -g window-status-format "#[fg=colour8] #W" |
38 | 41 | ||
39 | set -g status-left-length 100 | 42 | set -g status-left-length 100 |
40 | set -ag status-left "#[fg=colour8]bat #[fg=colour15]#(~/.bin/batc) " | 43 | set -ag status-left "#[fg=colour8]bat #[fg=colour15]#(~/.bin/bat) " |
44 | set -ag status-left "#[fg=colour8]time #[fg=colour15]#(date +"%I:%M%p") " | ||