Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # indexing
- set-option -g base-index 1
- # synchronize panes with "Y"
- bind-key y set-window-option synchronize-panes
- # mouse & scroll configurations
- set-option -g mode-mouse on # allows us to use the mouse for scrolling
- set-option -g mouse-select-pane on # select a pane with mouse
- set-option -g history-limit 100000 # really large scroll-back
- bind -n C-k clear-history # bind ctrl+k to clear scroll-back
- # title
- set-option -g set-titles on
- set-option -g set-titles-string '#H:#S.#I.#P #W #T'
- # bell config
- set-option -g bell-action any
- set-option -g visual-bell off
- # status screen
- set-option -g status-utf8 on
- set -g status-bg black
- set -g status-fg green
- set -g status-left-length 15
- set -g status-left ' #[fg=cyan,bright]#10H#[fg=green]:#[fg=white]#S#[fg=green] | #[default]'
- set -g status-right '| #[fg=yellow]%y-%m-%d %H:%M '
- set -g status-justify centre
- # misc bindings
- bind-key r source-file ~/.tmux.conf
- bind-key S command-prompt -p ssh: "new-window -n %1 'ssh %1'"
- bind-key | split-window -h
- bind-key - split-window -v
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement