feat(devkit): add zellij back

This commit is contained in:
Guz
2025-03-01 19:33:22 -03:00
parent ca45c71b89
commit 85de5c982e
4 changed files with 23 additions and 49 deletions

View File

@@ -1,4 +1,9 @@
{pkgs}: rec {
{
pkgs,
inputs,
}: let
unstable = import inputs.nixpkgs-unstable {inherit (pkgs) system;};
in rec {
ghostty = pkgs.callPackage ./ghostty {};
git = pkgs.callPackage ./git {};
lazygit = pkgs.callPackage ./lazygit {};
@@ -6,6 +11,9 @@
tmux = pkgs.callPackage ./tmux {shell = zsh;};
yazi = pkgs.callPackage ./yazi {};
# CURRENTLY BORKED https://github.com/zellij-org/zellij/issues/3970
# zellij = pkgs.callPackage ./zellij {shell = zsh;};
zellij = pkgs.callPackage ./zellij {
shell = zsh;
zellij = unstable.zellij;
};
zsh = pkgs.callPackage ./zsh {};
}

View File

@@ -32,10 +32,11 @@ bind 'j' select-pane -D # move down after prefix
bind 'k' select-pane -U # move up after prefix
bind 'l' select-pane -R # move right after prefix
bind -n 'C-h' select-pane -L # move left
bind -n 'C-j' select-pane -D # move down
bind -n 'C-k' select-pane -U # move up
bind -n 'C-l' select-pane -R # move right
# Conflicts with neovim
# bind -n 'C-h' select-pane -L # move left
# bind -n 'C-j' select-pane -D # move down
# bind -n 'C-k' select-pane -U # move up
# bind -n 'C-l' select-pane -R # move right
# bind -r 'S-h' resize-pane -L 5
# bind -r 'S-j' resize-pane -D 5