-
-
Save amurgit/20d29a1e14b93060b7c0c17b819051a8 to your computer and use it in GitHub Desktop.
tmux configuration file for ex-screen users
This file contains hidden or 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
# Use screen-like key bindings | |
unbind C-b | |
set -g prefix C-a | |
bind C-a send-prefix | |
# Use screen-like window switching | |
bind-key k select-pane -U | |
bind-key j select-pane -D | |
bind-key h select-pane -L | |
bind-key l select-pane -R | |
bind-key C-a last-window | |
# Use vi key bindings in copy mode | |
setw -g mode-keys vi | |
# Improve the status bar | |
set -g status-position bottom | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-interval 2 | |
set -g status-left "#[fg=green]Session: #S #[fg=yellow]| #[fg=green]Window: #I #[fg=yellow]| #[fg=green]Pane: #P" | |
set -g status-right "#[fg=yellow]#H #[fg=white]%Y-%m-%d %H:%M " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment