AutoYADM commit: 2025-05-11 01:25:08
This commit is contained in:
parent
8a0debc1ff
commit
7856369662
1 changed files with 4 additions and 4 deletions
|
@ -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>"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue