Skip to content

Instantly share code, notes, and snippets.

@glenntnorton
Created May 7, 2023 06:31
Show Gist options
  • Save glenntnorton/f7d0f5c5dd2000fd22a79dbebbf2e664 to your computer and use it in GitHub Desktop.
Save glenntnorton/f7d0f5c5dd2000fd22a79dbebbf2e664 to your computer and use it in GitHub Desktop.
Tmux config
# Remap prefix from 'C-b' to 'C-f'
unbind C-b
set-option -g prefix C-f
bind-key C-f send-prefix
# Improve colors
set -g default-terminal 'xterm-256color'
# Set scrollback buffer to 10000
set -g history-limit 10000
# Customize the status line
set -g status-fg green
set -g status-bg black
# Persistent Sessions
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# disable auto-save, save manually
set -g @resurrect-auto-save-interval '0'
# # Initialize TMUX plugin manager (keep this line at the bottom)
run -b '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment