diff options
Diffstat (limited to 'tmux')
| -rw-r--r-- | tmux/.config/tmux/tmux.conf | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index 5372817..f99ed95 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -59,11 +59,16 @@ bind SPACE set-option status # Alphabetical session list. bind s choose-tree -s -O name +# Enable focus events, which are needed by Neovim for 'autoread'. +set -g focus-events on + # Theme colors based on Nord. black_bright="#4c566a" gray_light="#D8DEE9" gray_medium="#ABB2BF" gray_dark="#3B4252" +nord_cyan="#88c0d0" +nord_black="#2e3440" # Make room for session names. set -g status-left-length 100 @@ -84,13 +89,15 @@ set -g pane-border-style "fg=${gray_dark}" set -g pane-active-border-style "fg=${gray_medium}" # Style the choose-tree / session picker -set -g mode-style "fg=#2e3440,bg=#88c0d0" # Dark text on Frost background +set -g mode-style "fg=#2e3440,bg=${nord_cyan}" # Dark text on Frost background # Style the command line / prompts (Nord 0 background, Nord 8 foreground) -set -g message-style "fg=#88c0d0,bg=#2e3440,bold" +set -g message-style "fg=#88c0d0,bg=${nord_black},bold" # Style the command line when in command mode (the ':' prompt) -set -g message-command-style "fg=#88c0d0,bg=#2e3440" +set -g message-command-style "fg=${nord_cyan},bg=${nord_black}" +# Informs tmux-resurrect to use neovim sessions when restoring. +set -g @resurrect-strategy-nvim 'session' # Plugins. run-shell ~/.config/tmux/plugins/tmux-resurrect/resurrect.tmux run-shell ~/.config/tmux/plugins/tmux-continuum/continuum.tmux |
