vifm: Make visidata/xsv default csv opener viewer

Make visidata the default program used to open csv files,
and xsv the default previewer since it displays it in nicer columns than
just the default viewer.
This commit is contained in:
Marty Oehme 2022-06-12 16:03:38 +02:00
parent 5c41b2e13c
commit a53dd6d617
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -456,6 +456,14 @@ filextype *.ora
\ {Edit in MyPaint}
\ mypaint %f,
" tabular data
filextype *.csv
\ {Open with visidata}
\ vd %f,
fileviewer *.csv
\ xsv sample 100 %c | xsv table -c8 -p1 -w1,
" \ {cat %c | sed -e 's/,,/, ,/g' | column -s, -t | less -#5 -N -S; }
" Mindmap
filextype *.vym
\ {Open with VYM}