The dev layout is accessible via the shell alias "dev".
CCBEVFAQ6MXM32Y3HE4Q46MF3JEUGOZCZGV6YJOSY7JAQEAGU5EAC 2C2EQ36QCWCDBUAF53UFZHQC4QOJV5ZM3QSGCNVGIFF6T5OWZTTQC AHAA7UNL2RRXP7KERGVCC42GB564WS5BYSSFEOXW3EKVMB2UVEOAC RNWOGVNATUUYTVBM44BM57OMCKDNOA5J4OKUNB5OJI2QGLFTTEIQC 5G7WRBMWKG6DMCOHE6WQHTYZACUHO2UPBZRWN72CFH7P45NN5E7QC QRPPLHLL6YZU3Z35JNJFXHMBY3BX4THHN4AMWDFCUSFHYAHWTRHAC HQ4UTQK5UQXMEUZRYQSCTEKW73UZLJQHPA4YD75FCKBKHS5NMJOAC SCB7IK7YNYAR3WTV2XYGPYCGCUW2GPJSWAA5S2ZGCYSZ5AZKXIDAC I4HWXLAAKJHZUQFV23XBAAEW6VTCOXO2F3AB5R6RTOHHZBZLK2VAC 5YAFV63EA5MLHUUIUDYC4LTIK4ZVXHXH4VOKORRDH5NNRTQ5GR3QC RXJH46XLP6AFSIZZD4WEQA5A5YZLKHZ54ZUGCRH7TRAOH2Z4Q2VQC JT7M7UUVPLEWJZS42BMXGZZIRUPILWGWESXURH4BMGVYJKOCZ5AAC YQTJKSDUZ6Y6LSJGOKBYQOPG3IG5RFMRKO2JGVUN5Q7AHPGOWFTAC JOV4ORXC6AG5WQRQXIVVJPSPQTPKJAE4W77FWNY6GZO5OONPFUBAC in{
# Simple Zellij key-binding helper.key = k: action: {bind = {_args = [ k ];} // action;};# Nested Zellij key-binding helper for plugins and similar.keyPlugin = k: children: {bind._args = [ k ];bind._children = children;};in {environment.shellAliases = {dev = "zellij-dev-tab";};
{bind._args = [ "Esc" ];bind.SwitchToMode._args = [ "locked" ];}{bind._args = [ "Ctrl p" ];bind.SwitchToMode._args = [ "pane" ];}{bind._args = [ "Ctrl t" ];bind.SwitchToMode._args = [ "tab" ];}{bind._args = [ "Ctrl r" ];bind.SwitchToMode._args = [ "resize" ];}{bind._args = [ "Ctrl s" ];bind.SwitchToMode._args = [ "scroll" ];}{bind._args = [ "Ctrl o" ];bind.SwitchToMode._args = [ "session" ];}{bind._args = [ "Ctrl h" ];bind.MoveFocus = [ "Left" ];}{bind._args = [ "Ctrl l" ];bind.MoveFocus = [ "Right" ];}{bind._args = [ "Ctrl j" ];bind.MoveFocus = [ "Down" ];}{bind._args = [ "Ctrl k" ];bind.MoveFocus = [ "Up" ];}{bind._args = [ "Ctrl x" ];bind.CloseFocus = { };}{bind._args = [ "H" ];bind.GoToPreviousTab = { };}{bind._args = [ "L" ];bind.GoToNextTab = { };}{bind._args = [ "Ctrl f" ];bind._children = [{LaunchOrFocusPlugin = {_args = [ "https://github.com/karimould/zellij-forgot/releases/latest/download/zellij_forgot.wasm" ];floating = true;};}];}{bind._args = [ "Ctrl j" ];bind._children = [{Run = {_args = [ "lazyjj" ];close_on_exit = true;floating = true;x = "5%";y = "5%";width = "90%";height = "90%";};}];}{bind._args = [ "Ctrl n" ];bind._children = [{Run = {_args = [ "nu" ];close_on_exit = true;floating = true;x = "5%";y = "5%";width = "90%";height = "90%";};}];}{bind._args = [ "q" ];bind.GoToTab._args = [ 1 ];}{bind._args = [ "w" ];bind.GoToTab._args = [ 2 ];}{bind._args = [ "e" ];bind.GoToTab._args = [ 3 ];}{bind._args = [ "r" ];bind.GoToTab._args = [ 4 ];}{bind._args = [ "t" ];bind.GoToTab._args = [ 5 ];}{bind._args = [ "y" ];bind.GoToTab._args = [ 6 ];}{bind._args = [ "u" ];bind.GoToTab._args = [ 7 ];}{bind._args = [ "i" ];bind.GoToTab._args = [ 8 ];}{bind._args = [ "o" ];bind.GoToTab._args = [ 9 ];}
(key "Esc" { SwitchToMode._args = [ "locked" ]; })(key "Ctrl w" { SwitchToMode._args = [ "pane" ]; })(key "Ctrl t" { SwitchToMode._args = [ "tab" ]; })(key "Ctrl r" { SwitchToMode._args = [ "resize" ]; })(key "Ctrl s" { SwitchToMode._args = [ "scroll" ]; })(key "Ctrl o" { SwitchToMode._args = [ "session" ]; })(key "Ctrl h" { MoveFocus = [ "Left" ]; })(key "Ctrl j" { MoveFocus = [ "Down" ]; })(key "Ctrl k" { MoveFocus = [ "Up" ]; })(key "Ctrl l" { MoveFocus = [ "Right" ]; })(key "q" { GoToTab._args = [ 1 ];})(key "w" { GoToTab._args = [ 2 ];})(key "e" { GoToTab._args = [ 3 ];})(key "r" { GoToTab._args = [ 4 ];})(key "t" { GoToTab._args = [ 5 ];})(key "y" { GoToTab._args = [ 6 ];})(key "u" { GoToTab._args = [ 7 ];})(key "i" { GoToTab._args = [ 8 ];})(key "o" { GoToTab._args = [ 9 ];})(key "H" { GoToPreviousTab = {}; })(key "L" { GoToNextTab = {}; })(keyPlugin "Ctrl f" [{LaunchOrFocusPlugin = {_args = [ "https://github.com/karimould/zellij-forgot/releases/latest/download/zellij_forgot.wasm" ];floating = true;};}])(keyPlugin "Ctrl j" [{Run = {_args = [ "lazyjj" ];close_on_exit = true;floating = true;x = "5%";y = "5%";width = "90%";height = "90%";};}])(keyPlugin "Ctrl n" [{Run = {_args = [ "nu" ];close_on_exit = true;floating = true;x = "5%";y = "5%";width = "90%";height = "90%";};}])
{bind._args = [ "Esc" ];bind.SwitchToMode._args = [ "locked" ];}{bind._args = [ "Enter" ];bind.SwitchToMode._args = [ "normal" ];}{bind._args = [ "h" ];bind.MoveFocus = [ "Left" ];}{bind._args = [ "l" ];bind.MoveFocus = [ "Right" ];}{bind._args = [ "j" ];bind.MoveFocus = [ "Down" ];}{bind._args = [ "k" ];bind.MoveFocus = [ "Up" ];}{bind._args = [ "n" ];bind.NewPane = { };}{bind._args = [ "d" ];bind.NewPane._args = [ "Down" ];}{bind._args = [ "r" ];bind.NewPane._args = [ "Right" ];}{bind._args = [ "x" ];bind.CloseFocus = { };}{bind._args = [ "f" ];bind.ToggleFocusFullscreen = { };}{bind._args = [ "z" ];bind.TogglePaneFrames = { };}{bind._args = [ "w" ];bind.ToggleFloatingPanes = { };}
(key "Esc" { SwitchToMode._args = [ "locked" ];})(key "Enter" { SwitchToMode._args = [ "normal" ];})(key "h" { MoveFocus = [ "Left" ];})(key "j" { MoveFocus = [ "Up" ];})(key "k" { MoveFocus = [ "Down" ];})(key "l" { MoveFocus = [ "Right" ];})(key "n" { NewPane = {};})(key "d" { NewPane._args = [ "Down" ];})(key "r" { NewPane._args = [ "Right" ];})(key "x" { CloseFocus = {};})(key "f" { ToggleFocusFullscreen = {};})(key "z" { TogglePaneFrames = {};})(key "w" { ToggleFloatingPanes = {};})
{bind._args = [ "Esc" ];bind.SwitchToMode._args = [ "locked" ];}{bind._args = [ "Enter" ];bind.SwitchToMode._args = [ "normal" ];}{bind._args = [ "h" ];bind.MoveTab._args = [ "Left" ];}{bind._args = [ "l" ];bind.MoveTab._args = [ "Right" ];}{bind._args = [ "n" ];bind.NewTab = { };}{bind._args = [ "x" ];bind.CloseTab = { };}{bind = {_args = [ "r" ];_children = [{ SwitchToMode._args = [ "RenameTab" ]; }{ TabNameInput._args = [ 0 ]; }];};}{bind._args = [ "1" ];bind.GoToTab._args = [ 1 ];}{bind._args = [ "2" ];bind.GoToTab._args = [ 2 ];}{bind._args = [ "3" ];bind.GoToTab._args = [ 3 ];}{bind._args = [ "4" ];bind.GoToTab._args = [ 4 ];}{bind._args = [ "5" ];bind.GoToTab._args = [ 5 ];}
(key "Esc" { SwitchToMode._args = [ "locked" ]; })(key "Enter" { SwitchToMode._args = [ "normal" ]; })(key "h" { MoveTab._args = [ "Left" ]; })(key "l" { MoveTab._args = [ "Right" ]; })(key "n" { NewTab = {}; })(key "x" { CloseTab = {}; })(key "1" { GoToTab._args = [ 1 ]; })(key "2" { GoToTab._args = [ 2 ]; })(key "3" { GoToTab._args = [ 3 ]; })(key "4" { GoToTab._args = [ 4 ]; })(key "5" { GoToTab._args = [ 5 ]; })(keyPlugin "r" [{ SwitchToMode._args = [ "RenameTab" ]; }{ TabNameInput._args = [ 0 ]; }])
{bind._args = [ "Esc" ];bind.SwitchToMode._args = [ "locked" ];}{bind._args = [ "Enter" ];bind.SwitchToMode._args = [ "normal" ];}{bind._args = [ "h" ];bind.Resize._args = [ "Increase Left" ];}{bind._args = [ "j" ];bind.Resize._args = [ "Increase Down" ];}{bind._args = [ "k" ];bind.Resize._args = [ "Increase Up" ];}{bind._args = [ "l" ];bind.Resize._args = [ "Increase Right" ];}{bind._args = [ "H" ];bind.Resize._args = [ "Decrease Left" ];}{bind._args = [ "J" ];bind.Resize._args = [ "Decrease Down" ];}{bind._args = [ "K" ];bind.Resize._args = [ "Decrease Up" ];}{bind._args = [ "L" ];bind.Resize._args = [ "Decrease Right" ];}{bind._args = [ "+" ];bind.Resize._args = [ "Increase" ];}{bind._args = [ "-" ];bind.Resize._args = [ "Decrease" ];}
(key "Esc" { SwitchToMode._args = [ "locked" ]; })(key "Enter" { SwitchToMode._args = [ "normal" ]; })(key "h" { Resize._args = [ "Increase Left" ]; })(key "j" { Resize._args = [ "Increase Down" ]; })(key "k" { Resize._args = [ "Increase Up" ]; })(key "l" { Resize._args = [ "Increase Right" ]; })(key "H" { Resize._args = [ "Decrease Left" ]; })(key "J" { Resize._args = [ "Decrease Down" ]; })(key "K" { Resize._args = [ "Decrease Up" ]; })(key "L" { Resize._args = [ "Decrease Right" ]; })(key "+" { Resize._args = [ "Increase" ]; })(key "-" { Resize._args = [ "Decrease" ]; })
{bind._args = [ "Esc" ];bind.SwitchToMode._args = [ "locked" ];}{bind._args = [ "Enter" ];bind.SwitchToMode._args = [ "normal" ];}{bind._args = [ "j" ];bind.ScrollDown = { };}{bind._args = [ "k" ];bind.ScrollUp = { };}{bind._args = [ "d" ];bind.HalfPageScrollDown = { };}{bind._args = [ "u" ];bind.HalfPageScrollUp = { };}{bind._args = [ "e" ];bind.EditScrollback = { };}
(key "Esc" { SwitchToMode._args = [ "locked" ]; })(key "Enter" { SwitchToMode._args = [ "normal" ]; })(key "j" { ScrollDown = {}; })(key "k" { ScrollUp = {}; })(key "d" { HalfPageScrollDown = {}; })(key "u" { HalfPageScrollUp = {}; })(key "e" { EditScrollback = {}; })
{bind._args = [ "Esc" ];bind.SwitchToMode._args = [ "locked" ];}{bind._args = [ "Enter" ];bind.SwitchToMode._args = [ "normal" ];}{bind._args = [ "d" ];bind.Detach = { };}{bind = {_args = [ "w" ];_children = [{ SwitchToMode._args = [ "normal" ]; }{ LaunchOrFocusPlugin._args = [ "session-manager" "true" ]; }];};}
(key "Esc" { SwitchToMode._args = [ "locked" ]; })(key "Enter" { SwitchToMode._args = [ "normal" ]; })(key "d" { Detach = {}; })(keyPlugin "w" [{ SwitchToMode._args = [ "normal" ]; }{ LaunchOrFocusPlugin._args = [ "session-manager" "true" ]; }])
{bind._args = [ "Esc" ];bind.SwitchToMode._args = [ "locked" ];}{bind._args = [ "Enter" ];bind._children = [ { SwitchToMode._args = [ "locked" ]; } ];}
(key "Esc" { SwitchToMode._args = [ "locked" ]; })(keyPlugin "Enter" [ { SwitchToMode._args = [ "locked" ]; }])
command_git_branch_command "git rev-parse --abbrev-ref HEAD"command_git_branch_format "#[fg=blue]{stdout}"command_git_branch_interval "10"command_git_branch_rendermode "static"
dev = ''layout {pane split_direction="vertical" {pane size="70%"pane size="30%"}pane size=1 borderless=true {plugin location="https://github.com/dj95/zjstatus/releases/latest/download/zjstatus.wasm" {hide_frame_for_single_pane "false"format_left "{mode} #[fg=gray]{session} {tabs}"format_center ""format_right "{datetime}"format_space ""mode_normal "#[fg=#FFFFFF,bg=green] NORMAL "mode_locked "#[fg=#FFFFFF,bg=red] LOCKED "
command_cwd_command "pwd"command_cwd_format "#[fg=green] {stdout}"command_cwd_interval "5"command_cwd_rendermode "static"
tab_normal "#[fg=#FFFFFF,bg=#7F7F7F] {index}:{name} "tab_active "#[fg=#FFFFFF,bg=blue,bold] {index}:{name} "datetime "#[fg=blue,bold] {format}"datetime_format "%H:%M"datetime_timezone "Europe/Warsaw"
def mega-update [--force (-f), --yes (-y)] {# confirmation checkif $force and not $yes and not (input "Force update all packages? (y/n): " | str starts-with "y") {return}let results = try {print "Starting cargo updates..."if $force {do -i { cargo update-all --force }} else {do -i { cargo update-all }}print "cargo completed"[{ manager: "cargo", status: "success" }]} catch { |e|print $"cargo failed: ($e.msg)"[{ manager: "cargo", status: "failed", error: $e.msg }]}print "All updates finished"$results}