feat: added zellij hotkeys

This commit is contained in:
Nick 2025-10-07 23:28:31 -05:00
parent d846d140bb
commit 206415a6f7

View file

@ -1,8 +1,57 @@
{ lib, pkgs, ... }:
{
programs.zellij = {
enable = true;
settings = {
theme = "catppuccin-mocha";
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" ]; }
];
};
}
];
};
};
}