1

less and most use j and k, but they don't use h and l for horizontal scrolling. Is there a way I can fix either of these to do that? or maybe an alternative tool that I could use as a pager that does it?

1 Answer 1

0

printf '%s %s\n' h left-scroll l right-scroll | lesskey -

seems to work.

More details in the less and lesskey manpages.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .