I just found out I can use less
with multiple files. less status line tells me
(END) - Next: file2.txt
But how do I navigate previous/next from less?
I just found out I can use less
with multiple files. less status line tells me
(END) - Next: file2.txt
But how do I navigate previous/next from less?
This question is better suited for superuser.com. Anyway, we read in the manpage:
:n Examine the next file (from the list of files given in the com‐ mand line). If a number N is specified, the N-th next file is examined. :p Examine the previous file in the command line list. If a number N is specified, the N-th previous file is examined.
Found out from :h
(help window) that I can use :p (for previous) and :n (for next)