Skip to main content
7 events
when toggle format what by license comment
Feb 24, 2022 at 10:33 comment added zrvan This answer has the added benefit of being easy to use in an open less, by using the command - and then specifying #, less will prompt for Horizontal shift: and set the user provided value for the current session. It really ought to be the accepted answer.
Apr 9, 2019 at 21:56 comment added wisbucky You can also set a percentage of screen width if the number starts with a decimal point. For example, -# .25 would scroll by 1/4 of the screen width.
Apr 9, 2019 at 21:54 comment added wisbucky @Trismegistos Yes, you can set the environment variable in your ~/.bashrc with export LESS="-# 1"
Feb 21, 2019 at 11:39 comment added Trismegistos Is there posibility to add this option to some configuration file so I don't have to pass -# 1 option everytime i type the command?
Feb 27, 2015 at 10:34 review Late answers
Feb 27, 2015 at 10:39
Feb 27, 2015 at 10:19 review First posts
Feb 27, 2015 at 10:22
Feb 27, 2015 at 10:16 history answered Rikard CC BY-SA 3.0