rainbow_csv
rainbow_csv copied to clipboard
Make Header Row Sticky
Tooltips are really helpful, however, if the first row (if there is a header) would move along with scrolling would be really great. Any idea if this is feasible?
I can think about only two ways to do this:
- Execute
:1sp
- this will create a horizontal split, with the upper window being of height=1, it will show the header record. And the lower window can be used for scrolling. Advantage: no need to change anything in the extension itself. - It should be also possible to show column names in Vim status line, but it would look a little weird for header to be at the bottom. Also most users prefer to have their own customized status lines, so I can't enable "header in status line" by default, it would be too intrusive.
This may also be a good candidate for something like https://github.com/nvim-treesitter/nvim-treesitter-context