2 ms·
Question: When "hard wrapping" is off and I move the cursor to the right beyond the screen, then the line on which the cursor is gets moved to the left - ONLY
by zepearl 6y ago
Question:
When "hard wrapping" is off and I move the cursor to the right beyond the screen, then the line on which the cursor is gets moved to the left - ONLY that line.
Is there a way to have the other lines move as well to the right?
Reason: sometimes I want to compare what I'm editing with what is present at the same position in the rows above/below - moving the cusor up/down to have those contents displayed is a bit annoying... .
Thx
- tpoacher 6y agoI find that a bit annoying too. My solution is to fire the same file and line using `less` on a parallel window (e.g. in byobu) with the -S enabled (which I have enabled by default) which allows you to scroll to the right instead of wrapping the text. You can then edit the line in nano, and refresh (with Shift+R) as appropriate in less to compare with the lines above.
- zepearl 6y agoaha - Shift+R in "less", didn't know that - thanks!