Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The shortcut key to open console in Sublime Text 2 does not work

Tags:

sublimetext2

I'm using Sublime Text 2 (version 2.0.1) on Windows 7, and I haven't installed any plugins for this software. I can use menu to open the console, but I cannot open console via ctrl + ` shortcut. How to fix this problem?

like image 318
Wu Zhou Avatar asked Dec 20 '12 05:12

Wu Zhou


People also ask

How do I open the console in Sublime Text?

Use Ctrl + ' to open the console. When Ctrl + ` is pressed, Sublime Text does not receive anything.

How do I open terminal in Sublime Text 2?

Press ctrl + ~ (for opening terminal)

Is there a console in Sublime Text?

The Python ConsoleSublime Text 2 has an embedded Python interpreter. You will find yourself turning to it often in order to inspect Sublime Text 2 settings and to quickly test API calls while you're writing plugins. To open the Python console, press Ctrl+` or select View | Show Console in the menu.

What does Ctrl d do in Sublime Text?

Ctrl + D in SublimeText is "Quick Add Next." This appears to be equivalent to Ctrl + B in Brackets, which is "Add next match to Selection" on the Find menu.


2 Answers

Magic Keyboard - US English - Apple

The title itself causes this answer to show up in Google search results for any operating system. So even though the details ask about Windows 7, I am including picture of the shortcut to the Mac because it will save some people a lot of time.
enter image description here

like image 137
JGallardo Avatar answered Sep 27 '22 22:09

JGallardo


UK Keyboard

Use Ctrl+' to open the console.

When Ctrl+` is pressed, Sublime Text does not receive anything. It is therefore impossible to use this key combination for anything.

When Ctrl+' is pressed, Sublime Text actually receives Ctrl+` instead.

Debuging Keyboard Shortcuts

To see what Sublime Text is receiving, enter sublime.log_input(True) at the console. Obviously change True to False to turn this off.

Other programs can receive the physical Ctrl+` combination so it would seem the issue is within Sublime Text.

like image 45
Hamish Avatar answered Sep 28 '22 00:09

Hamish