Extract run-zellij-from-helix as script

This commit is contained in:
Travis Burtrum 2023-10-09 21:18:59 -04:00
parent 13b68c9e00
commit c54ca2f5e7
2 changed files with 11 additions and 3 deletions

8
bin/run-zellij-from-helix Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
zellij r --name run --close-on-exit --direction down -- ~/.config/bin/run-from-helix
for x in {1..3}
do
zellij action resize decrease
done

View File

@ -11,7 +11,7 @@ true-color = true
"T" = "page_down" # shift+move_visual_line_down is page down "T" = "page_down" # shift+move_visual_line_down is page down
"F8" = ":open ~/.config/bin/run-from-helix" "F8" = ":open ~/.config/bin/run-from-helix"
"F9" = [":wa", ":sh zellij r --name run --close-on-exit --direction down -- ~/.config/bin/run-from-helix; zellij action resize decrease; zellij action resize decrease; zellij action resize decrease"] "F9" = [":wa", ":sh ~/.config/bin/run-zellij-from-helix"]
# these are non-standard changes, original dvorak commented with #x # these are non-standard changes, original dvorak commented with #x
@ -375,7 +375,7 @@ true-color = true
"A-i" = "normal_mode" "A-i" = "normal_mode"
"F8" = ":open ~/.config/bin/run-from-helix" "F8" = ":open ~/.config/bin/run-from-helix"
"F9" = [":wa", ":sh zellij r -f -- ~/.config/bin/run-from-helix"] "F9" = ["normal_mode", ":wa", ":sh ~/.config/bin/run-zellij-from-helix"]
# these are non-standard changes, original dvorak commented with #x # these are non-standard changes, original dvorak commented with #x
@ -789,7 +789,7 @@ true-color = true
"A-i" = "normal_mode" "A-i" = "normal_mode"
"F8" = ":open ~/.config/bin/run-from-helix" "F8" = ":open ~/.config/bin/run-from-helix"
"F9" = [":wa", ":sh zellij r -f -- ~/.config/bin/run-from-helix"] "F9" = ["normal_mode", ":wa", ":sh ~/.config/bin/run-zellij-from-helix"]
# normal dvorak # normal dvorak
"esc" = "normal_mode" # "esc" "esc" = "normal_mode" # "esc"