atom / vim-mode

Next generation vim support for atom
MIT License
1.72k stars 253 forks source link

After key 's' in visual mode, selection block not canceled #1093

Closed MewX closed 7 years ago

MewX commented 7 years ago

I'll use [] to present cursor in normal mode, and | in insert mode, to simulate the reproducing procedure.

Originally:

some text;
[d]ist = a;
pastNodes = b;

Then press c-v, select:

some text;
[dist] = a;
[past]Nodes = b;

Then press s:

 some text;
| = a;
 Nodes = b;

Then press esc:

[s]ome text;
[ ]= a;
Nodes = b;

See, the selection block are not canceled, if I press esc again, it becomes normal:

some text;
[ ]= a;
Nodes = b;
winstliu commented 7 years ago

This package is deprecated. You may be interested in installing vim-mode-plus instead.

MewX commented 7 years ago

Oh, thanks, I was using vim mode plus!