adding zellij layout because it is helpful

claude_rewrite
will king 1 year ago
parent 7873b5f1ac
commit 7d9c1f7d76

@ -0,0 +1,84 @@
layout {
tab name="Main and Compile" cwd="~/research/PhD_Deliverables/jmp/Latex/Paper/" hide_floating_panes=true focus=true {
// This tab is where I manage main from.
// it opens up Main.txt for my JMP, opens the pdf in okular (in a floating tab), and then get's ready to build the pdf.
pane size=1 borderless=true {
plugin location="tab-bar"
}
pane split_direction="vertical" {
pane edit="Main.tex" focus=true // This is the editor
pane split_direction="horizontal" {
// this is the compilation window
pane size="60%" command="compiletex" {
args "Main.tex"
start_suspended true
}
// This is the ls of sections
pane size="35%" command="ls"{
args "sections/"
}
}
}
floating_panes {
// here is where I run okular from, it is auto hidden
pane command="okular" {
args "Main.pdf"
}
}
pane size=2 borderless=true {
plugin location="status-bar"
}
}
tab name="sections" cwd="~/research/PhD_Deliverables/jmp/Latex/Paper/sections/" {
pane size=1 borderless=true {
plugin location="tab-bar"
}
pane split_direction="vertical" {
pane
pane stacked=true {
pane
pane
pane
pane
pane
pane
pane
pane
pane
}
}
pane size=2 borderless=true {
plugin location="status-bar"
}
}
tab name="git" cwd="~/research/PhD_Deliverables/jmp/Latex/Paper/" {
pane size=1 borderless=true {
plugin location="tab-bar"
}
pane split_direction="vertical" {
pane split_direction="horizontal" {
pane command="watch" {
args "--color" "git status"
// requires `git config --global color.status always` to be set
}
pane size="30%" {
focus true
}
}
pane command="git" {
args "log" "-n 10" "--all" "--oneline" "--graph" "--stat" "--decorate"
}
}
pane size=2 borderless=true {
plugin location="status-bar"
}
}
}
Loading…
Cancel
Save