mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 09:12:28 +00:00
Remove tmux plugin manager and manage tmux plugins with nix
This commit is contained in:
@@ -226,6 +226,31 @@
|
|||||||
clock24 = true;
|
clock24 = true;
|
||||||
terminal = "screen-256color";
|
terminal = "screen-256color";
|
||||||
customPaneNavigationAndResize = true;
|
customPaneNavigationAndResize = true;
|
||||||
|
plugins = with pkgs.tmuxPlugins; [
|
||||||
|
{
|
||||||
|
plugin = pain-control;
|
||||||
|
extraConfig = "set -g @plugin 'tmux-plugins/tmux-pain-control'";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
plugin = sensible;
|
||||||
|
extraConfig = "set -g @plugin 'tmux-plugins/tmux-sensible'";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
plugin = sessionist;
|
||||||
|
extraConfig = "set -g @plugin 'tmux-plugins/tmux-sessionist'";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
plugin = yank;
|
||||||
|
extraConfig = "set -g @plugin 'tmux-plugins/tmux-yank'";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
plugin = tmux-colors-solarized;
|
||||||
|
extraConfig = ''
|
||||||
|
set -g @plugin 'seebi/tmux-colors-solarized'
|
||||||
|
set -g @colors-solarized 'dark'
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set-window-option -g automatic-rename on
|
set-window-option -g automatic-rename on
|
||||||
set-option -g set-titles on
|
set-option -g set-titles on
|
||||||
@@ -255,19 +280,6 @@
|
|||||||
set -g visual-activity off
|
set -g visual-activity off
|
||||||
|
|
||||||
set -g status-right '#(gitmux #{pane_current_path})'
|
set -g status-right '#(gitmux #{pane_current_path})'
|
||||||
|
|
||||||
set -g @plugin 'tmux-plugins/tmux-pain-control'
|
|
||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
||||||
set -g @plugin 'tmux-plugins/tmux-sessionist'
|
|
||||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
|
||||||
|
|
||||||
# Theme
|
|
||||||
set -g @plugin 'seebi/tmux-colors-solarized'
|
|
||||||
set -g @colors-solarized 'dark'
|
|
||||||
|
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
||||||
run -b '~/.tmux/plugins/tpm/tpm'
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user