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

Adding info on how to freeze line numbers and column header with less #160

Open
ArnaudKunzi opened this issue Feb 15, 2023 · 0 comments
Open

Comments

@ArnaudKunzi
Copy link

ArnaudKunzi commented Feb 15, 2023

It would be a nice addition to indicate in the readme or in the help that when piping tv -e to less, it is now possible to keep line numbering and headers visible while scrolling down and sideways like so:

tv -e large_csv.csv | less --header 3,6

(number of columns (6) would need to be increased/decreased appropriately if the file has a lot more lines)

This is possible since the less release 600 from jan2022.
I did not check if this was also possible with other pagers like bat but I know that vimpager can probably be configured to behave the same.

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

1 participant