dotfiles/modules/home/cli/shell/zellij/default.nix

58 lines
1.1 KiB
Nix
Raw Normal View History

2025-10-07 23:28:31 -05:00
{ lib, pkgs, ... }:
2025-10-01 19:51:55 -05:00
{
programs.zellij = {
enable = true;
settings = {
theme = "catppuccin-mocha";
2025-10-07 23:28:31 -05:00
default_shell = lib.getExe pkgs.nushell;
keybinds.normal._children = [
{
bind = {
_args = [
"Alt Left"
"Alt c"
];
_children = [
{ MoveFocus._args = [ "Left" ]; }
];
};
}
{
bind = {
_args = [
"Alt Up"
"Alt a"
];
_children = [
{ MoveFocus._args = [ "Up" ]; }
];
};
}
{
bind = {
_args = [
"Alt Down"
"Alt e"
];
_children = [
{ MoveFocus._args = [ "Down" ]; }
];
};
}
{
bind = {
_args = [
"Alt Right"
"Alt i"
];
_children = [
{ MoveFocus._args = [ "Right" ]; }
];
};
}
];
2025-10-01 19:51:55 -05:00
};
};
}