[lf] Add quick shortcut for creating directories
This commit is contained in:
parent
3c0da0fcb5
commit
a77052cb77
|
@ -24,3 +24,14 @@ cmd drop &drop $fx
|
|||
map O :drop
|
||||
map D :dragon
|
||||
map I $imv $fx &
|
||||
|
||||
cmd mkdir %{{
|
||||
IFS=" "
|
||||
mkdir -p -- "$@"
|
||||
lf -remote "send $id select \"$@\""
|
||||
}}
|
||||
map <a-a> push :mkdir<space>
|
||||
map a push :touch<space>
|
||||
|
||||
cmd touch %touch $1 && lf -remote "send $id load" && lf -remote "send $id select $1"
|
||||
cmd mkdir %mkdir -p $1 && lf -remote "send $id load" && lf -remote "send $id select $1"
|
||||
|
|
Loading…
Reference in New Issue