1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00

Use nu in zellij

This commit is contained in:
Mo 2022-11-08 17:57:04 +01:00
parent 1ef1937284
commit b5a171a816
6 changed files with 29 additions and 30 deletions

View file

@ -1,11 +1,10 @@
pane_frames false
default_layout "compact"
scroll_buffer_size 100000
copy_on_select true
default_shell "/usr/bin/fish"
default_shell "/home/mo/.cargo/bin/nu"
scrollback_editor "/home/mo/bin/nvim/bin/nvim"
keybinds clear-defaults=true {

View file

@ -10,26 +10,26 @@ layout {
tab name="lazygit" {
pane {
command "fish"
args "-C" "lazygit"
command "nu"
args "-e" "lazygit"
}
}
tab name="nvim" focus=true {
pane {
command "fish"
args "-C" "nvim"
command "nu"
args "-e" "nvim"
}
}
tab name="run" {
pane {
command "fish"
args "-C" "poetry run ./run.py"
command "nu"
args "-e" "poetry run ./run.py"
}
}
tab name="tasks" {
pane {
command "fish"
args "-C" "nohup xdg-open http://localhost:5000 &> /dev/null; vp advlabdb"
command "nu"
args "-e" "nohup xdg-open http://localhost:5000 &> /dev/null; vp advlabdb"
}
}
}

View file

@ -10,27 +10,27 @@ layout {
tab name="lazygit" {
pane {
command "fish"
args "-C" "lazygit"
command "nu"
args "-e" "lazygit"
}
}
tab name="nvim" focus=true {
pane {
cwd "src"
command "fish"
args "-C" "nvim"
command "nu"
args "-e" "nvim"
}
}
tab name="mdbook" {
pane {
command "fish"
args "-C" "mdbook serve"
command "nu"
args "-e" "mdbook serve"
}
}
tab name="test" {
pane {
command "fish"
args "-C" "sleep 1 && nohup xdg-open http://localhost:3000 &> /dev/null"
command "nu"
args "-e" "sleep 1 && nohup xdg-open http://localhost:3000 &> /dev/null"
}
}
}

View file

@ -10,8 +10,8 @@ layout {
tab name="jupyterlab" focus=true {
pane {
command "fish"
args "-C" "./container.fish"
command "nu"
args "-e" "./container.nu"
}
}
tab name="shell" {

View file

@ -10,20 +10,20 @@ layout {
tab name="lazygit" {
pane {
command "fish"
args "-C" "lazygit"
command "nu"
args "-e" "lazygit"
}
}
tab name="nvim" focus=true {
pane {
command "fish"
args "-C" "nvim"
command "nu"
args "-e" "nvim"
}
}
tab name="run" {
pane {
command "fish"
args "-C" "julia scripts/update.jl"
command "nu"
args "-e" "julia scripts/update.jl"
}
}
}

View file

@ -1,19 +1,19 @@
layout {
pane {
command "fish"
command "nu"
args "-c" "~/.scripts/update.py rpm-ostree"
}
pane focus=true {
command "fish"
command "nu"
args "-c" "~/.scripts/update.py flatpak"
}
pane {
command "fish"
command "nu"
args "-c" "~/.scripts/update.py cargo"
}
pane {
cwd "/home/mo/servers/ansible"
command "fish"
command "nu"
args "-c" "ansible-playbook playbooks/update.yml; read -P Enter"
}
}