mirror of
https://github.com/fredrikr79/nixos.git
synced 2026-01-26 16:13:14 +01:00
speed up tmux by removing unused plugins
This commit is contained in:
46
home.nix
46
home.nix
@@ -1229,27 +1229,39 @@ in
|
||||
keyMode = "vi";
|
||||
mouse = true;
|
||||
plugins = with pkgs; [
|
||||
tmuxPlugins.cpu
|
||||
# tmuxPlugins.cpu
|
||||
{
|
||||
plugin = tmuxPlugins.resurrect;
|
||||
extraConfig = "set -g @resurrect-strategy-nvim 'session'";
|
||||
}
|
||||
{
|
||||
plugin = tmuxPlugins.continuum;
|
||||
extraConfig = ''
|
||||
set -g @continuum-restore 'on'
|
||||
set -g @continuum-save-interval '60' # minutes
|
||||
'';
|
||||
}
|
||||
{
|
||||
plugin = tmuxPlugins.session-wizard;
|
||||
}
|
||||
{
|
||||
plugin = tmuxPlugins.battery;
|
||||
extraConfig = ''
|
||||
set -g status-right '#{battery_percentage} | %a %h-%d %H:%M '
|
||||
'';
|
||||
}
|
||||
# {
|
||||
# plugin = tmuxPlugins.harpoon;
|
||||
# extraConfig = ''
|
||||
# bind -n M-a run 'harpoon -A';
|
||||
# bind -n M-l run 'harpoon -l';
|
||||
# bind -n M-e run 'harpoon -e';
|
||||
# bind -n M-h run 'harpoon -s 1';
|
||||
# bind -n M-t run 'harpoon -s 2';
|
||||
# bind -n M-n run 'harpoon -s 3';
|
||||
# bind -n M-s run 'harpoon -s 4';
|
||||
# '';
|
||||
# }
|
||||
# {
|
||||
# plugin = tmuxPlugins.continuum;
|
||||
# extraConfig = ''
|
||||
# set -g @continuum-restore 'on'
|
||||
# set -g @continuum-save-interval '60' # minutes
|
||||
# '';
|
||||
# }
|
||||
# {
|
||||
# plugin = tmuxPlugins.session-wizard;
|
||||
# }
|
||||
# {
|
||||
# plugin = tmuxPlugins.battery;
|
||||
# extraConfig = ''
|
||||
# set -g status-right '#{battery_percentage} | %a %h-%d %H:%M '
|
||||
# '';
|
||||
# }
|
||||
];
|
||||
shell = "${pkgs.zsh}/bin/zsh";
|
||||
newSession = true;
|
||||
|
||||
Reference in New Issue
Block a user