Where is my Sublime Preferences file?

I am using the excellent Sublime Text 3 editor on my Mac, for which I want to disable word wrap. So I went to Preferences > Settings - Default , which opens the settings file. Unfortunately, I can’t edit the file, so I wanted to find the file on the command line. I hung over a file in Sublime that shows me the location of the file:

enter image description here

Then I tried to go to this folder, but, to my surprise, in the ~/Library/Application Support/Sublime Text 3/Packages/ folder there is no Default folder:

  $ ls -la ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/ total 280 drwx------ 7 kramer65 staff 238 17 okt 13:48 . drwx------ 8 kramer65 staff 272 8 okt 16:23 .. -rw-r--r--@ 1 kramer65 staff 6148 8 okt 16:25 .DS_Store drwxr-xr-x@ 18 kramer65 staff 612 14 jul 01:49 Jedi - Python autocompletion -rw-r--r--@ 1 kramer65 staff 132375 17 okt 13:45 Package Control.sublime-package drwxr-xr-x 24 kramer65 staff 816 17 okt 13:48 SublimeCodeIntel drwx------ 7 kramer65 staff 238 17 okt 13:48 User 

and here I am stuck. How can it be that I am looking for a file that does not seem to exist?

Does anyone know what I'm doing wrong here? How can I find this file to disable the wordwrapping function? All tips are welcome!

+7
command-line file terminal sublimetext macos
source share
2 answers

You should open "Settings" - "User" instead of "Settings" - "Default". Settings - The default contains the default settings and should not be edited.

So, go to "Settings / Preferences" - "User" and add the following content to disable word wrap:

 { "word_wrap": false } 
+4
source share

The file you were looking for is actually very close

~ / Library / Application Support / Sublime Text 3 / Packages // Preferences.sublime-User Settings

what really is the file shown in the menu. I agree that its location is not as intuitive as it could be.

+9
source share

All Articles