home-manager/terminal/programs/tmux: simplify config
This commit is contained in:
parent
2603bf2b6f
commit
acf42ca5e7
1 changed files with 4 additions and 25 deletions
|
@ -9,33 +9,12 @@
|
||||||
baseIndex = 1;
|
baseIndex = 1;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set-option -a terminal-features "''${TERM}:RGB"
|
set-option -a terminal-features "''${TERM}:RGB"
|
||||||
|
bind c new-window -c "#{pane_current_path}"
|
||||||
|
bind '"' split-window -v -c "#{pane_current_path}"
|
||||||
|
bind '%' split-window -h -c "#{pane_current_path}"
|
||||||
|
bind C-k clear-history
|
||||||
'';
|
'';
|
||||||
plugins = with pkgs; [
|
plugins = with pkgs; [
|
||||||
{
|
|
||||||
plugin = tmuxPlugins.catppuccin;
|
|
||||||
extraConfig = ''
|
|
||||||
set -g @catppuccin_window_left_separator ""
|
|
||||||
set -g @catppuccin_window_right_separator " "
|
|
||||||
set -g @catppuccin_window_middle_separator " █"
|
|
||||||
set -g @catppuccin_window_number_position "right"
|
|
||||||
|
|
||||||
set -g @catppuccin_window_default_fill "number"
|
|
||||||
set -g @catppuccin_window_default_text "#W"
|
|
||||||
|
|
||||||
set -g @catppuccin_window_current_fill "number"
|
|
||||||
set -g @catppuccin_window_current_text "#W"
|
|
||||||
|
|
||||||
set -g @catppuccin_status_modules_right "directory user host session"
|
|
||||||
set -g @catppuccin_status_left_separator " "
|
|
||||||
set -g @catppuccin_status_right_separator ""
|
|
||||||
set -g @catppuccin_status_fill "icon"
|
|
||||||
set -g @catppuccin_status_connect_separator "no"
|
|
||||||
|
|
||||||
set -g @catppuccin_directory_text "#{pane_current_path}"
|
|
||||||
|
|
||||||
set -g @catppuccin_flavor 'frappe'
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
tmuxPlugins.vim-tmux-navigator
|
tmuxPlugins.vim-tmux-navigator
|
||||||
tmuxPlugins.yank
|
tmuxPlugins.yank
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue