-1

When I start my sublime text3, I found the following command. What is the problem? How I can solve it? I use Ubuntu 16.

Error trying to parse file: Unexpected character, expected a comma or closing bracket in Packages/User/Default (Linux).sublime-keymap:2:9

enter image description here

techraf
  • 64,883
  • 27
  • 193
  • 198
Rasel
  • 50
  • 7
  • 3
    It means something is wrong in the file Default (Linux).sublime-keymap. You need to show us the contents of that to tell exactly what is wrong, but most likely you tried to edit it and missed a bracket or comma so now it's invalid JSON. – user812786 Oct 18 '16 at 16:24

1 Answers1

1

Guess what! I had the same error when I started using sublime text!

open this file: ~/Library/Application Support/Sublime Text 2/Packages/User/Default (Linux).sublime-keymaps with whatever program, but not sublime, and replace all the content with []

Then, restart sublime text, and it should work.

Matt

math2001
  • 4,167
  • 24
  • 35
  • this is hardly the solution since you delete every keybinding with that – thatsIch Jan 10 '17 at 16:34
  • I agree, it's not the best solution, although it sounds like he didn't have any shortcuts, and he wasn't able to restart ST. So, that the best *quick* solution. – math2001 Jan 10 '17 at 21:10