Sublime Forum

Cannot change existing text document

#1

I am running on Windows 10 (1067) 64-bit.

I began creating a document earlier this morning and saved it successfully multiple times.

Suddenly I cannot change text! If I tap the space bar, the cursor move to the right one character. If I hit the Enter key with the cursor place any where in a line, the cursor advances to the beginning of the next line.

Some keys do function: CTRL-J joins lines, CTRL-L hightlights a line.

I am desperate to fix this. Any ideas?

Thanks Larry

0 Likes

#2

That sounds suspiciously like you have the Vintage package turned on (which provides vim key binding support) and you’re currently in Command Mode instead of Insert mode. In this mode most key bindings that do an insertion or buffer modification don’t work (e.g. Space or Enter) and just move the cursor, but some keys do (such as Ctrl+J to Join Lines).

Does the status bar say “COMMAND MODE” in it anywhere? If so, pressing the i key should put you into insert mode so that you can edit text normally (pressing Escape switches back to command mode).

Assuming turning on Vintage mode was a mistake, you can add it to ignored_packages in your user settings to turn it off. Or, if you’re using package control, you can open up the command palette and filter down to Package Control: Disable Package and select it from the list.

1 Like

#3

You’re right. By mistake I entered an 'S" and entered insert mode.

Doesn’t the following in user Settings turn that off?

"ignored_packages":
[
	"Vintage"
],

I can handle vim mode, but I’d like to understand how to enable/disable it.

0 Likes

#4

That should turn it off, yes. If that’s in your settings but you’re still having the problem, perhaps you have another vim package installed (e.g. Vintageous)?

1 Like

#5

You were right, Vintageous was installed. Was it supposed to show up in Browse Packages, because it did not?

Anyway, I removed it and life is good again. Thanks

0 Likes

#6

It is supposed to show up in “Package Control: List Packages”, if you installed it via Package Control. The “Browse Packages” menu item only opens the extracted packages, which are not all the packages available on your installation.

See also http://docs.sublimetext.info/en/latest/extensibility/packages.html.

0 Likes