Remi.b
Remi.b

Reputation: 18219

SublimeText: When the lines are longer than the width of the screen

When the lines are longer than the width of the screen, SublimeText, by default, forces the end of the line to be displayed on a second line.

enter image description here

Is there a way to tell SublimeText to not do that? I'd like the whole line to remain on one line and have a horizontal scroll bar.

I am using SublimeText 2 Version 2.0.2

Upvotes: 0

Views: 117

Answers (2)

Olle Sjögren
Olle Sjögren

Reputation: 5385

You could also add the following to your user key-bindings file (Preferences -> Key Bindings - User) to add a key or a key combination to toggle between the two modes. I use CTRL+ALT+W, but the key combination could be anything you want.

{
    "keys": ["ctrl+alt+w"],
    "command": "toggle_setting",
    "args":
    {
        "setting": "word_wrap"
    }
}

Upvotes: 1

mfjones
mfjones

Reputation: 739

Use "word_wrap": false in your User Preferences

Upvotes: 2

Related Questions