Sublime Forum

How to exit Column Select (Ubuntu)? Esc key no worky worky

#1

Hello,

I have been using sublime text for a couple of days. Initially tried it on Windows 10 and all was well.

Now I am on Ubuntu 17.04 and I am having trouble exiting column editing mode so wonder if I am doing something daft.

To enable column editing I press Alt+Shift Up.

To exit I hit the Esc key. However all this does is change the caret for the column to a block as you would expect when inserting is disabled. Hitting the Esc key again changes the block caret to a single line.

Typing any text after this action doesn’t insert any text and I’m sort of stuck at this point as I can’t edit the file any further, closing and re-opening the file brings me back to doing something useful with the file.

If I repeat this operation but instead of a key sequence to escape column editing mode I go to the menu item Selection and click on Single Selection (which BTW indicates that the key binding is the Escape key) then it all works fine.

So question is, what is the correct key sequence to exit column edit mode?

Thanks in advance.

0 Likes

#2

You are probably using any kind of VIM emulator plugin, like vintage, vintageous, six…

0 Likes

#3

Thank you for your reply.

Please forgive my ignorance but how can I determine if this is the case?

If I list my plugins all I get is:

Package Control
sublimelint
SublimeLinter-contrib-clang

0 Likes

#4

Open your ST console ctrl+` and type sublime.log_commands(True) then look which commands are executed when you press escape in the scenario.

2 Likes

#5

the command that is executed is:
exit_insert_mode

0 Likes

#6

@dartbader Then press ctrl+shift+p and select Package Control: Disable Package and then disable the package Vintage.

2 Likes

#7

ctrl+shift+p does not bring anything up. I’ve tried disabling the package via the menu but now arrow keys stopped working.

I have given up and done a clean install and so far it is OK.

Makes me wonder how vim emulation got enabled in the previous install.

Thank you for your help.

0 Likes

#8

For the record: You can also open your User settings and manually add "Vintage" to the "ignored_packages"

0 Likes

#9

OK good to know. Thanks.

0 Likes