lf edit command fix
This commit is contained in:
parent
a42b402162
commit
05715e781e
|
@ -23,12 +23,11 @@ cmd pushedit %{{
|
|||
}}
|
||||
|
||||
cmd edit ${{
|
||||
rifle -c "$XDG_CONFIG_HOME/lf/rifle.conf" -p 0 $fx
|
||||
# if sh -c "[ -n '\$VIM' ]"; then
|
||||
# lf -remote "send $id vimopen $fx"
|
||||
# else
|
||||
# lf -remote "send $id '\$echo $fx | xargs -or nvim +wa'"
|
||||
# fi
|
||||
if sh -c "[ -n \"\$VIM\" ]"; then
|
||||
lf -remote "send $id vimopen $fx"
|
||||
else
|
||||
lf -remote "send $id \$echo \$fx | xargs -or nvim +wa"
|
||||
fi
|
||||
}}
|
||||
|
||||
cmd open-with ${{
|
||||
|
|
Loading…
Reference in New Issue