Updated tmux configuration
This commit is contained in:
parent
5412da060b
commit
abedf8e947
@ -18,6 +18,7 @@ Below, a list of applications that are managed and of their prerequisites to mak
|
|||||||
- ZSH
|
- ZSH
|
||||||
oh-my-zsh (automatically fetched by dotdrop)
|
oh-my-zsh (automatically fetched by dotdrop)
|
||||||
- tmux
|
- tmux
|
||||||
|
acpi
|
||||||
- neovim
|
- neovim
|
||||||
plug (automatically fetched by dotdrop)
|
plug (automatically fetched by dotdrop)
|
||||||
fonts-powerline
|
fonts-powerline
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
# remap prefix to Control + a
|
# remap prefix to Control + a
|
||||||
set -g prefix C-a
|
set -g prefix C-a
|
||||||
unbind C-b
|
unbind C-b
|
||||||
bind C-a send-prefix
|
bind C-a send-prefix
|
||||||
|
|
||||||
set-option -g status-position top
|
|
||||||
|
|
||||||
# force a reload of the config file
|
# force a reload of the config file
|
||||||
unbind r
|
unbind r
|
||||||
bind r source-file ~/.tmux.conf
|
bind r source-file ~/.tmux.conf
|
||||||
@ -30,3 +28,15 @@ bind -n M-Left select-pane -L
|
|||||||
bind -n M-Right select-pane -R
|
bind -n M-Right select-pane -R
|
||||||
bind -n M-Up select-pane -U
|
bind -n M-Up select-pane -U
|
||||||
bind -n M-Down select-pane -D
|
bind -n M-Down select-pane -D
|
||||||
|
|
||||||
|
# tabs
|
||||||
|
setw -g window-status-format "#[fg=white]#[bg=blue] #I #[bg=blue]#[fg=white] #W "
|
||||||
|
setw -g window-status-current-format "#[bg=white]#[fg=black] *#I #[fg=black,bold]#[bg=white] [#W] "
|
||||||
|
|
||||||
|
# status bar
|
||||||
|
set-option -g status-position top
|
||||||
|
set -g status-fg white
|
||||||
|
set -g status-bg blue
|
||||||
|
set -g status-left ''
|
||||||
|
set -g status-right-length 60
|
||||||
|
set -g status-right '♥ #(acpi | cut -d ',' -f 2) | %a %m-%d %H:%M'
|
||||||
|
Loading…
Reference in New Issue
Block a user