mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 16:52:12 +02:00
fixed termguicolors not working on tmux with neovim
This commit is contained in:
+4
-4
@@ -39,10 +39,7 @@ unbind %
|
|||||||
set -g mouse off
|
set -g mouse off
|
||||||
|
|
||||||
# Set the default terminal
|
# Set the default terminal
|
||||||
set -s default-terminal 'tmux-256color'
|
set -s default-terminal 'alacritty'
|
||||||
|
|
||||||
# Set the correct terminal feature for better termguicolors in Neovim
|
|
||||||
set-option -sa terminal-features ',XXX:RGB'
|
|
||||||
|
|
||||||
# open/split window with current path
|
# open/split window with current path
|
||||||
bind '"' split-window -c "#{pane_current_path}"
|
bind '"' split-window -c "#{pane_current_path}"
|
||||||
@@ -52,6 +49,9 @@ bind c new-window -c "#{pane_current_path}"
|
|||||||
# Longer workspace names
|
# Longer workspace names
|
||||||
set -g status-left-length 20
|
set -g status-left-length 20
|
||||||
|
|
||||||
|
# Terminal feature specific to Neovim
|
||||||
|
set-option -sa terminal-overrides ',alacritty:Tc'
|
||||||
|
|
||||||
# Tmux plugins
|
# Tmux plugins
|
||||||
set -g @plugin "janoamaral/tokyo-night-tmux"
|
set -g @plugin "janoamaral/tokyo-night-tmux"
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
|||||||
Reference in New Issue
Block a user