2024-07-19 17:38:37 +01: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 11:26:04 +01: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 13:46:11 +01:00
|
|
|
set-option -g default-shell "/home/user/.nix-profile/bin/zsh"
|
2024-05-15 08:02:50 +01:00
|
|
|
setw -g mode-keys vi
|
2024-07-19 17:38:37 +01:00
|
|
|
|
2024-07-13 11:26:04 +01:00
|
|
|
# underscore colours - needs tmux-3.0
|
2024-08-03 11:19:28 +01:00
|
|
|
# set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
|
2024-07-13 11:26:04 +01: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'
|