BanksySan
BanksySan

Reputation: 28500

Set word wrap for plain text only

I want word wrap off for everything except plain text.

I've added "word_wrap": false to my Preferences.sublime-settings and then created Plain Text.sublime-settings.

Plain Text.sublime-settings is in ...AppData\Roaming\Sublime Text 3\Packages\User and contains:

{
    "word_wrap": true
}

However, the pain text file remains unwrapped.

Upvotes: 3

Views: 328

Answers (2)

Saad
Saad

Reputation: 53799

To set settings for a specific language, do the following:

  1. Open up any file with that syntax type

  2. Go to Preferences –> Settings–More –> Syntax Specific–User

This should open up the correct file for your language-specific preference settings.

Upvotes: 4

BanksySan
BanksySan

Reputation: 28500

Sublime text is case sensitive on the file name.

Plain Text.sublime-settings <== Bad

Plain text.sublime-settings <== Good

`

Upvotes: 0

Related Questions