Vim related configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

84 lines
3.0 KiB

  1. ## Open items ##
  2. ----------------
  3. - use xsv for aligning columns? (xsv does not work, skips the delimiter)
  4. use csvkit for aligning columns?
  5. Should work more efficient/faster for larger csv files
  6. (huge csv files can cause OOM on :ArrangeCol)
  7. - ArrangeColumn collapse command,
  8. This should collapse (conceal) overly wide columns so that the columns
  9. won't be too wide.
  10. - when using :VHeader, comments are not copied over
  11. - wrap/shorten long fields (scopus.csv). Is this even possible with Vim?
  12. (maybe conceal trailing and leading whitespace?)
  13. This should work:
  14. 1) set a max width per column
  15. 2) for each column issue something like this:
  16. :exe 'syn match CSVConcealed /\%'.line.'l\%>'.width. 'c.*/ conceal cchar=…'
  17. - Allow to set only a range of the file to filetype csv
  18. (helps when writing text and one wants to insert some csv data)
  19. - Add more scripting functions? (which ones?)
  20. - Better support for newlines within a column (Is this worth the
  21. effort?)
  22. - add vertical folding (concealing columns)
  23. (works partly, can't conceal single columns?)
  24. - make plugin autoloadable (shouldn't be necessary, as the code is only
  25. loaded for file with &ft=csv)
  26. ## Fixed items ##
  27. -----------------
  28. - Better syntax highlighting (last char in last line is concealed)
  29. - Convert to a visual table, something like this:
  30. a,header,line
  31. foo,bar,10
  32. baz,bum,5
  33. :VisualTable results in:
  34. -------------------
  35. |a |header| line|
  36. -----|------|-----|
  37. |foo |bar | 10|
  38. |baz |bum | 5|
  39. -------------------
  40. (works using :Tabularize command)
  41. - Header/VHeader command should be more robust. May be use the preview
  42. window to display the header? Does scrollbinding then still work?
  43. (should work now)
  44. - Transposing columns (should work now)
  45. - add a wizard, for defining fixed-width columns
  46. (should work now)
  47. - Reapply Filter, in case Search register changed
  48. (use :Filters!, should work now)
  49. - Sum should account for different number formats
  50. (e.g. 10 000.01 should be counted as 10,000.01 in Australia,
  51. 10.000 should be counted as 10,000 in Germany.
  52. How can the user configure how to handle certain delimiters?
  53. :SumCol 3 /.:,/ should use the ',' as decimal separator?
  54. :SumCol 3 /,: / should use the ' ' as thousands separator?
  55. :SumCol 3 /,: / /.:,/ treats ' ' as thousands separator and
  56. , as decimal separator?
  57. (should work now)
  58. - When filtering, move all folded values together, so your file needs to
  59. be reorded (and changed), but will leave all non-folded items
  60. together. Make this configurable and only possible, when the file is
  61. !read-only and modifiable)
  62. (should work now)
  63. - apply Filter negatively, e.g. pressing enter on a value, hides all
  64. values, that don't have this value. (Maybe use <Space>, on the value?)
  65. (should work now)
  66. - document how to "substitute in column" command, may be even provide a
  67. command for that?
  68. - new command: AddColumn adds an empty column after cursor or after
  69. specified column number (possibly followed by number of columns to
  70. add)
  71. vim:tw=72