parent
b61c420aa6
commit
99239732ef
@ -0,0 +1,33 @@ |
||||
set-option -g default-shell /bin/zsh |
||||
|
||||
# remap prefix to Control + a |
||||
set -g prefix C-a |
||||
unbind C-b |
||||
bind C-a send-prefix |
||||
|
||||
# VIM mode |
||||
set-window-option -g mode-keys vi |
||||
bind-key -T copy-mode-vi 'v' send -X begin-selection |
||||
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel |
||||
|
||||
# split panes using | and - |
||||
bind | split-window -h |
||||
bind - split-window -v |
||||
unbind '"' |
||||
unbind % |
||||
|
||||
# quick pane cycling |
||||
unbind ^A |
||||
bind ^A select-pane -t :.+ |
||||
|
||||
# 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]#[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 63 |
||||
set -g status-right 'Battery:#(acpi | cut -d ',' -f 2) | %a %Y-%m-%d %H:%M' |
Loading…
Reference in new issue