I'm really struggling to find a terminal that allows horizontal scrolling instead of wrapping long lines. I've tried several terminals including Kitty, Tilix, Terminator, the default terminal on Linux Mint, and Alacritty, but none of them seem to fit the bill. Is there any terminal out there that can toggle line wrap or support horizontal scrolling? I'm about to lose my mind over this!
4 Answers
Totally get that! I think it’s understandable to want the same setup you have in VSC. Let’s hope you find the right terminal option soon!
Throwing it back to the VT100 days, you can actually use escape codes to disable line wrap. If you send the escape code `[7l`, that’ll prevent text from wrapping. To turn it back on, use `[7h`. Many terminal emulators recognize these VT100 escape codes, so it could work for you. If you want to try it, you might set up an alias to easily input those codes.
There are definitely plenty of terminal emulators that have options to change the line wrapping behavior. From what I remember, Kitty and Wezterm should support horizontal scrolling. It might also be worth checking if you can set a keybinding to switch between line wrap and scroll mode, which could give you the flexibility you’re looking for.
Keep in mind that the 'end of line' and 'insert next line' commands are pretty basic and aren’t something you can easily insert by default. What you might actually want is a text editor that supports fixed line lengths, similar to what you’re used to in Visual Studio Code.

I tried that and it didn’t seem to work for me either, unfortunately.