Monday, May 6, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1581  / 2 Years ago, thu, september 29, 2022, 12:08:03

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?


More From » sublime-text

 Answers
6

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.


[#31165] Friday, September 30, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
deringach

Total Points: 412
Total Questions: 107
Total Answers: 101

Location: Palestine
Member since Tue, Jul 20, 2021
3 Years ago
;