diff --git a/bin/run-zellij-from-helix b/bin/run-zellij-from-helix new file mode 100755 index 0000000..9ce26c2 --- /dev/null +++ b/bin/run-zellij-from-helix @@ -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 diff --git a/helix/config.toml b/helix/config.toml index ec02647..cb0c0e2 100644 --- a/helix/config.toml +++ b/helix/config.toml @@ -11,7 +11,7 @@ true-color = true "T" = "page_down" # shift+move_visual_line_down is page down "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 @@ -375,7 +375,7 @@ true-color = true "A-i" = "normal_mode" "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 @@ -789,7 +789,7 @@ true-color = true "A-i" = "normal_mode" "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 "esc" = "normal_mode" # "esc"