Skip to content

Instantly share code, notes, and snippets.

@zarzen
Last active November 12, 2024 19:58
Show Gist options
  • Save zarzen/2d6d1b469cd87bb9b64630002f1744e7 to your computer and use it in GitHub Desktop.
Save zarzen/2d6d1b469cd87bb9b64630002f1744e7 to your computer and use it in GitHub Desktop.
tmux config
# set default-terminal colors to display default terminal colors
set -g default-terminal "xterm-256color"
# set-option -ga terminal-overrides ',xterm-256color:Tc
# Undercurl
set-option -g default-terminal "tmux-256color"
set-option -sa terminal-overrides ",xterm*:Tc"
set -g mouse on
unbind C-b
set -g prefix C-t
bind C-t send-prefix
# List of plugins
# this requires install tpm
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
set -g @plugin 'tmux-plugins/tmux-yank'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
@zarzen
Copy link
Author

zarzen commented Jul 12, 2023

Install tpm plugin:

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment