mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-10 07:58:30 +01:00
meta: Replace zellij with tmux
Now that tmux works again, it makes sense to choose it over zellij due to the vastly superior community support around it. Using tmux-256color makes colors work properly in programs like htop, and neovim benefits from squiggly lines and italics from kitty as well.
This commit is contained in:
parent
5032717f84
commit
2ed939b083
24
home/tmux.nix
Normal file
24
home/tmux.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
programs.tmux = {
|
||||||
|
enable = true;
|
||||||
|
mouse = true;
|
||||||
|
|
||||||
|
keyMode = "vi";
|
||||||
|
|
||||||
|
extraConfig = /* fish */ ''
|
||||||
|
set -sg escape-time 0
|
||||||
|
|
||||||
|
set -g renumber-windows on
|
||||||
|
set -g status-right ""
|
||||||
|
set -g status-left ""
|
||||||
|
set -g status-justify centre
|
||||||
|
set -g status-bg black
|
||||||
|
set -g status-fg white
|
||||||
|
set -g default-terminal "tmux-256color"
|
||||||
|
|
||||||
|
bind -n S-Left previous-window
|
||||||
|
bind -n S-Right next-window
|
||||||
|
bind -n S-Up set status
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
@ -71,7 +71,6 @@ in
|
|||||||
inherit (pkgs)
|
inherit (pkgs)
|
||||||
gdu
|
gdu
|
||||||
hexyl
|
hexyl
|
||||||
zellij
|
|
||||||
diskonaut
|
diskonaut
|
||||||
pgcli
|
pgcli
|
||||||
litecli
|
litecli
|
||||||
|
Loading…
Reference in New Issue
Block a user