I just started using sublime text 2 and when I go into command mode I can't get out.
How do I exit out?
Open any program file in the sublime editor and Right-click (context menu). You can see the Cmd menu in the Context menu options. Click on it. The command prompt will be opened through which you can compile and run your program.
Press ctrl+shift+p and write Vintageous: Toggle Vim Ctrl Keys . You can see the other settings here and just change them in the user preferences.
To run the code, press Command B or go to Tools -> Build. As you can see, my Sublime Text is running Python 2.7.
Sublime vintage modeI have been using Sublime Text with vintage mode on, which allows these basic vim commands to be available. So far, I haven't had any problems that weren't solvable by adding a custom key binding while using vintage mode.
Escape puts you into command mode; i
takes you back out.
... 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"
]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With