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:
parent
5c41b2e13c
commit
a53dd6d617
1 changed files with 8 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue