Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is my Sublime Preferences file?

Tags:

I'm using the excellent Sublime Text 3 editor on my Mac for which I want to turn off word wrap. So I went to Preferences > Settings - Default, which opens up a settings file. Unfortunately I am unable to edit the file, so I wanted to lookup the file on the command line. I hovered over the file in Sublime, which shows me the location of the file:

enter image description here

I then tried to go to that folder, but to my surprise there is no Default folder in the ~/Library/Application Support/Sublime Text 3/Packages/ 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'm stuck. How can it be that I am looking at a file, which doesn't seem to exist?

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

like image 259
kramer65 Avatar asked Oct 30 '14 11:10

kramer65


1 Answers

The file you were looking for is actually very close

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

that's indeed the file shown through the menu. I agree its location isn't as intuitive as it could be.

like image 56
Jaime Agudo Avatar answered Sep 25 '22 03:09

Jaime Agudo