posix > vim
parent
704259d3e0
commit
1346c0e63e
4
justfile
4
justfile
|
@ -8,9 +8,7 @@ draw n:
|
|||
|
||||
# show a cutup
|
||||
cutup:
|
||||
recsel -P desc tarot.rec > /tmp/tarotdesc.txt && \
|
||||
vim -es -c ":set tw=30" -c ":norm gggqGgg" -c ":g/^$/d" -c ":1,\$!shuf" -c ":wq!" /tmp/tarotdesc.txt && \
|
||||
head -n 5 /tmp/tarotdesc.txt
|
||||
recsel -P desc tarot.rec | fold -sw 30 | sed '/^$/d' | shuf | head -n 5
|
||||
|
||||
# example: group by type
|
||||
type:
|
||||
|
|
Loading…
Reference in New Issue