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