blob: 0eaa9ea43faa9e97a178e39cdd80e1c0fac1375a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
set shell sh
set shellopts '-eu'
set ifs "\n"
set scrolloff 10
set previewer stpv
set cleaner stpvimgclr
&stpvimg --listen $id
cmd on-quit $stpvimg --end $id
cmd open ${{
test -L $f && f=$(readlink -f $f)
case $(file --mime-type $f -b) in
text/*) $EDITOR $fx;;
*) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;;
esac
}}
|