Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Header Row Sticky #14

Open
kalaschnik opened this issue Jun 13, 2020 · 2 comments
Open

Make Header Row Sticky #14

kalaschnik opened this issue Jun 13, 2020 · 2 comments

Comments

@kalaschnik
Copy link

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?

@mechatroner
Copy link
Owner

I can think about only two ways to do this:

  1. 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.
  2. 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.

@benjamin051000
Copy link

This may also be a good candidate for something like https://github.com/nvim-treesitter/nvim-treesitter-context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants