summaryrefslogtreecommitdiff
path: root/tmux/.tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/.tmux.conf')
-rw-r--r--tmux/.tmux.conf90
1 files changed, 28 insertions, 62 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index fadd29e..f2c781a 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -1,77 +1,43 @@
1set-option -g allow-rename off 1set -g prefix C-a
2 2unbind-key C-b
3# remap prefix from 'C-b' to 'C-a'
4unbind C-b
5set-option -g prefix C-a
6bind-key C-a send-prefix 3bind-key C-a send-prefix
7 4
8# reload config file (change file location to your the tmux.conf you want to use) 5# start with window 1 (instead of 0)
9bind r source-file ~/.tmux.conf \; display-message "config reloaded!" 6set -g base-index 1
10 7
11# switch panes using Alt-arrow without prefix 8# start with pane 1
12bind -n M-Left select-pane -L 9set -g pane-base-index 1
13bind -n M-Right select-pane -R
14bind -n M-Up select-pane -U
15bind -n M-Down select-pane -D
16 10
17# also can use vim like movement hjkl pane traversal 11# history
18bind -n M-h select-pane -L 12set -g history-limit 4096
19bind -n M-j select-pane -D
20bind -n M-k select-pane -U
21bind -n M-l select-pane -R
22 13
23# in case want to use mouse 14# mouse
24set -g mouse on 15set -g mouse on
25 16
26#setw -g monitor-activity on 17# allow terminal scrolling
27#set -g visual-activity on 18set-option -g terminal-overrides 'xterm*:smcup@:rmcup@'
28
29######################
30### DESIGN CHANGES ###
31######################
32 19
33## Status bar design 20# resizing
34# status line 21setw -g aggressive-resize on
35set -g status-justify left
36set -g status-bg default
37set -g status-fg colour12
38set -g status-interval 2
39 22
40# window status 23# window status
41setw -g window-status-format " #F#I:#W#F " 24set-option -g status-position bottom
42setw -g window-status-current-format " #F#I:#W#F " 25set -g status-bg default
43setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W "
44setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W "
45
46# Info on left (I don't have a session display for now)
47set -g status-left ''
48
49# loud or quiet?
50set-option -g visual-activity off
51set-option -g visual-bell off
52set-option -g visual-silence off
53set-window-option -g monitor-activity off
54set-option -g bell-action none
55
56set -g default-terminal "screen-256color"
57
58# The modes {
59setw -g clock-mode-colour colour135
60 26
61# } 27# info on right (no session display)
62# The statusbar { 28set-option -g status-right ""
29set-option -g status-left ""
63 30
64set -g status-position bottom 31# toggle status bar visibility
65set -g status-bg colour234 32bind t set status
66set -g status-fg colour137
67#set -g status-left '#[fg=green]#($TMUX_PLUGIN_MANAGER_PATH/tmux-mem-cpu-load/tmux-mem-cpu-load --colors --powerline-right --interval 2)#[default]'
68set -g status-left ''
69set -g status-right '#[fg=colour233,bg=colour238] #{battery_icon} #{battery_percentage} #[fg=colour233,bg=colour241] online #{online_status} #[fg=colour233,bg=colour244] #{cpu_icon}#{cpu_percentage} #[fg=colour233,bg=colour247,bold] %a %d/%h #[fg=colour233,bg=colour250,bold] %H:%M:%S '
70set -g status-right-length 50
71set -g status-left-length 50
72 33
73set-option -g @cpu_icon "💪" 34# navigate throught windows
35bind-key -n S-Left previous-window
36bind-key -n S-Right next-window
74 37
75setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F ' 38# colors
39setw -g window-status-format "#[fg=colour8]#W "
40setw -g window-status-current-format "#[fg=colour6]#W "
41# set -g pane-border-fg colour0
42# set -g pane-active-border-fg colour0
76 43
77setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '