dotfiles/.tmux.conf

29 lines
1.0 KiB
Plaintext
Raw Normal View History

2024-07-20 00:38:37 +08:00
# Don't set this when not using Kitty, like in Contour Terminal.
# set -g default-terminal "xterm-kitty"
# set -g terminal-overrides "xterm-kitty"
2024-07-13 18:26:04 +08:00
# true colours support
# set -ga terminal-overrides ",*256col*:Tc"
set -ga terminal-overrides ",xterm-256color:Tc"
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
2024-07-30 20:46:11 +08:00
set-option -g default-shell "/home/user/.nix-profile/bin/zsh"
2024-05-15 15:02:50 +08:00
setw -g mode-keys vi
2024-07-20 00:38:37 +08:00
2024-07-13 18:26:04 +08:00
# underscore colours - needs tmux-3.0
2024-08-03 18:19:28 +08:00
# set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
2024-07-13 18:26:04 +08:00
set-option -g status-position top
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'erikw/tmux-powerline'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin 'git@github.com:user/plugin'
# set -g @plugin 'git@bitbucket.com:user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'