How can I fix "no data in sublime-keymap" error in Sublime Text 3?

4.2k views Asked by At

Whenever I try to open Sublime Text 3 this error pops up and the program never starts:

Error Trying to parse file: No data in Packages\User\Default(Windows).sublime-keymap:1:1

How do I fix this error?

1

There are 1 answers

2
skuroda On BEST ANSWER

Navigate to C:\Users\<username>\AppData\Roaming\Sublime Text 3\Packages\User\Default (Windows).sublime-keymap. Open the file with some text editor (say Notepad++) Then enter [] into the file. I'm guessing it got created with no contents (which is causing the error). If there are entries there, please post the contents. Though you may be able to just wrap it in square braces.