Luis Liz
Luis Liz

Reputation: 1959

Exit command mode in sublime text 2

I just started using sublime text 2 and when I go into command mode I can't get out.

How do I exit out?

Upvotes: 84

Views: 51229

Answers (6)

Bobby Jones
Bobby Jones

Reputation: 1

Expanding on Mr Washington's answer:

Note that you can't simply remove the "ignored_packages" section in the user preferences as it will be added back on the next startup of sublime. Overwriting it is required.

Upvotes: 0

Pawel
Pawel

Reputation: 18222

It looks like by default in Preferences > Settings - Default this is enabled

"ignored_packages": ["Vintage"]

but then it's overwritten in Settings - User by

"ignored_packages": [
]

so copy the setting from Settings - Default to Settings - User That worked for me.

Upvotes: 12

Mr Washington
Mr Washington

Reputation: 1413

... And, if you want to avoid entering in the command mod when pressing ESC key, add the following ignored packages in your sublime preferences:

"ignored_packages":
[
    "Vintage"
]

Upvotes: 84

runningRhetoric
runningRhetoric

Reputation: 2581

Escape puts you into command mode; i takes you back out.

Upvotes: 200

kumarharsh
kumarharsh

Reputation: 19609

As in Vim, to exit the command mode, press i insert to keep the cursor exactly where it is positioned.

But, since it requires a lot of hand-movements, I personally hate pressing i everytime.

So, while fiddling around with Sublime, I found that pressing a also took you back into normal mode, although the cursor advances by one character (append as correctly pointed out by Chris), I think I'll take that over i.

So, ESC to enter, a to exit the command mode.

Upvotes: 8

Carlin
Carlin

Reputation: 31

Use the Escape key or Ctrl/Command + ~ (tilde)

Upvotes: 3

Related Questions