YS-L/csvlens

Feature request: Being able to search through columns

jargot opened this issue · 1 comments

Current Behavior

  • CSV viewer allows searching within rows using /
  • Cannot search through column names (headers)

Desired Behavior

  • Extend search functionality to include column headers

Why?

  • Improve navigation in large datasets
  • Quickly find specific columns

Suggestion

  • Use existing / search to include headers, or
  • Add new keybinding for header-only search (e.g., ?)

Minimal repro:

id,first_name,last_name,email,occupation,salary
1,John,Doe,john.doe@example.com,Engineer,75000
2,Jane,Smith,jane.smith@example.com,Manager,85000
3,Bob,Johnson,bob.johnson@example.com,Designer,70000

^ Try to search for "email" and you will get 0 match.

I also need this feature because my CSV file has many columns. I prefer searching within headers with the key ?, which would be faster than searching inside the whole CSV file if the file is large.