misc tweaks
This commit is contained in:
parent
de2fb12648
commit
43a139c210
3 changed files with 11 additions and 14 deletions
|
|
@ -11,4 +11,3 @@ hidden = false
|
|||
r = ":reload-all"
|
||||
s = ":toggle-option soft-wrap.enable"
|
||||
t = ":sh run_test_under_cursor"
|
||||
y = ":sh zellij run -c -f -x 5% -y 5% --width 90% --height 90% -- bash ~/.config/helix/yazi-picker.sh open"
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
#!/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 ":$1 $paths"
|
||||
zellij action write 13 # send <Enter> key
|
||||
else
|
||||
zellij action toggle-floating-panes
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue