Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # set command prefix for tmux
- set-option -g prefix C-a
- unbind C-a
- # set vi mode keys
- setw -g mode-keys vi
- # set some bindings for moving around terminals (vim-like)
- bind h select-pane -L
- bind j select-pane -D
- bind k select-pane -U
- bind l select-pane -R
- # Define my custom menu bar
- # status bar colors
- set -g status-bg black
- set -g status-fg white
- # alignment settings
- set-option -g status-justify centre
- # status left options
- set-option -g status-left '#[fg=green][#[bg=black,fg=cyan]#S#[fg=green]]'
- set-option -g status-left-length 20
- # window list options
- setw -g automatic-rename on
- set-window-option -g window-status-format '#[fg=cyan,dim]#I#[fg=blue]:#[default]#W#[fg=grey,dim]#F'
- set-window-option -g window-status-current-format '#[bg=blue,fg=cyan,bold]#I#[bg=blue,fg=cyan]:#[fg=colour230]#W#[fg=dim]#F'
- set -g base-index 1
- # status right options
- set -g status-right '#[fg=green][#[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default] #($HOME/bin/battery)#[fg=green]]'
- # bind a reload key
- bind R source-file ~/.tmux.conf \; display-message " Config reloaded..".
- # Set Copy-Mode settings
- bind [ copy-mode
- bind -t vi-copy v begin-selection
- bind -t vi-copy y copy-selection
- bind -t vi-copy V rectangle-toggle
- bind ] paste-buffer
- # buffer
- bind Space choose-buffer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement