Update helix

This commit is contained in:
Antun Krasic
2025-01-15 13:49:50 +00:00
parent 7aa87e4eb8
commit 2d14723733
6 changed files with 555 additions and 6 deletions

13
yazi-picker.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
paths=$(yazi --chooser-file=/dev/stdout | while read -r; do printf "%q " "$REPLY"; done)
if [[ -n "$paths" ]]; then
zellij action toggle-floating-panes
zellij action write 27 # send <Escape> key
zellij action write-chars ":open $paths"
zellij action write 13 # send <Enter> key
zellij action toggle-floating-panes
fi
zellij action close-pane