I have a file with one single line which is 800 charcters long. Whenever I use cat or view the file in vim the line is displayed to the length of the terminal and the charters after that are shown in the new line below that. How can I view the content in one long line with a scroll bar maybe?
Share
In vim you can turn off wrapping with
Unfortunately it doesn’t give you a very clear indication that there are more characters off the screen, so you’ll need to know what lines extend beyond the width of your terminal so you can scroll over to see the rest of the line.