bat icon indicating copy to clipboard operation
bat copied to clipboard

Add +cmd arguments to pass when pager is less

Open eggbean opened this issue 1 year ago • 0 comments

It would be great if +cmd arguments were added which are passed to less if it is the pager. So..

$ bat +G file would go to the end of the file

$ bat +20 file would go straight to line 20, etc

If the pager is not less it could be ignored.

eggbean avatar Aug 06 '22 11:08 eggbean