Created
July 9, 2015 16:50
-
-
Save davydany/dee21fd0f4f1a3ea7a20 to your computer and use it in GitHub Desktop.
My tmux.conf File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment