scrolloff=X to guarantee min lines above/below scroll
Posted: 2016-09-01, 18:09 UTC
Mr. Ghisler, would it be possible to add one small feature to the wincmd.ini file -- one that would guarantee a certain number of lines above/below the cursor when scrolling up/down using pgup/pgdn/arrows or typing a filename using quicksearch? You might call it scrolloff, and set the default to scrolloff=0, so as not to change the default behavior for everyone else. (I'm borrowing that name scrolloff from "set scrolloff" in Vim, which has similar functionality to what I'm requesting.)
Here is the use case... When I have a long file listing with similar versions or names, I often have to scroll one or two past the file I am quicksearch-typing or arrow-keying to, only because I want to be sure I have the last one in the series. Then I have to up-arrow a couple of times to get back to the file I want to do something with. If I were able to set scrolloff=3, I would always know if I am on the last one because I could already see the next few -- even though I am at the bottom of the screen and scrolling off and downward. There is a similar use case for looking for the first in a long series of files when scrolling off in the upward direction.
I know you are very busy, but I am hoping this might be a small change. Is it possible (pretty please) that you might be able to include it into the current 9.0 beta series? Thanks so much for everything you do to make Total Commander such a great program for all of us!
Here is the use case... When I have a long file listing with similar versions or names, I often have to scroll one or two past the file I am quicksearch-typing or arrow-keying to, only because I want to be sure I have the last one in the series. Then I have to up-arrow a couple of times to get back to the file I want to do something with. If I were able to set scrolloff=3, I would always know if I am on the last one because I could already see the next few -- even though I am at the bottom of the screen and scrolling off and downward. There is a similar use case for looking for the first in a long series of files when scrolling off in the upward direction.
I know you are very busy, but I am hoping this might be a small change. Is it possible (pretty please) that you might be able to include it into the current 9.0 beta series? Thanks so much for everything you do to make Total Commander such a great program for all of us!