1

I'm using Sublime Text 2 in Ubuntu and on my Mac hitting command+p it lets me quickly select which file I want to open.

In Ubuntu hitting Ctrl+P opens a print dialog. How can I disable that functionality in Ubuntu for Sublime Text?

1
  • This is odd, because I'm almost certain Sublime Text doesn't have printing. That's one of my only complaints about it, actually :) Could you please check if you have any additional packages installed? May 17, 2013 at 4:18

3 Answers 3

3

For me, pressing CTRL+P gives me the following output:

enter image description here

What I would suggest is to look for any shortcuts changed in the Keyboard options (System Settings). Maybe there is one that was set to that combination.

Secondly I would check Sublime to see if it has the default bindings:

enter image description here

Just in case you or someone changed some of them.

As mentioned by Goddard, make sure your default USER binding has the following line exactly like this:

{ "keys": ["ctrl+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }

that should solve the problem as tested by Goddard.

4
  • This is what mine said { "keys": ["ctrl+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
    – Goddard
    May 17, 2013 at 4:10
  • for some reason I had to put the key bindings in the - User area { "keys": ["ctrl+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }
    – Goddard
    May 17, 2013 at 4:15
  • @Goddard I am sorry for not adding that to the answer but yes, mine says the same in the USER default. Is this the one you are saying? May 17, 2013 at 4:15
  • @Goddard did it solve the problem?. If yes I will edit my answer to include such information. May 17, 2013 at 4:16
1

For some reason I had to put my Key Bindings in the User settings folder for it to work.

Strange. If you run into this problem try

{ "keys": ["ctrl+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }
0

If you have 2pdf plugin, remove that plugin.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .