Skip to content

Instantly share code, notes, and snippets.

@davydany
Created July 9, 2015 16:50
Show Gist options
  • Save davydany/dee21fd0f4f1a3ea7a20 to your computer and use it in GitHub Desktop.
Save davydany/dee21fd0f4f1a3ea7a20 to your computer and use it in GitHub Desktop.
My tmux.conf File
# 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