AutoYADM commit: 2025-05-11 01:25:08

This commit is contained in:
Daniel Fichtinger 2025-05-11 01:25:08 -04:00
parent 8a0debc1ff
commit 7856369662

View file

@ -89,11 +89,11 @@ map -docstring "goto next buffer" global user i ": bn<ret>"
map global normal <tab> _
map -docstring "commenct line" global normal <c-v> ":comment-line<ret>"
define-command open_yazi %{
nop %sh{
rm -f /tmp/yazi-path
edit %sh{
rm -f /tmp/yazi-path &>/dev/null
footclient -d error yazi $kak_buffile --chooser-file=/tmp/yazi-path &>/dev/null
cat /tmp/yazi-path
}
terminal yazi %val{buffile} --chooser-file=/tmp/yazi-path
edit %sh{cat /tmp/yazi-path}
}
map -docstring "open file in yazi" global user <space> ": open_yazi<ret>"