Skip to content

Instantly share code, notes, and snippets.

@amurgit
Forked from christianparpart/tmux.conf
Last active January 29, 2023 04:23
Show Gist options
  • Save amurgit/20d29a1e14b93060b7c0c17b819051a8 to your computer and use it in GitHub Desktop.
Save amurgit/20d29a1e14b93060b7c0c17b819051a8 to your computer and use it in GitHub Desktop.
tmux configuration file for ex-screen users
# 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