WarWithinMe / xVim

A SIMBL Plugin to provide Vim Key Binding for MacOSX editors.
128 stars 7 forks source link

Undo leaves text highlighted in visual mode. #2

Closed jordwalke closed 12 years ago

jordwalke commented 12 years ago

If you highlight text in visual mode and delete it, when you undo the text remains highlighted. In vim, undoing deletes won't leave the deleted text highlighted.

jordwalke commented 12 years ago

Correction, you don't even need to highlight text and then delete it - any kind of deletion has this problem

WarWithinMe commented 12 years ago

Using u to undo now won't select text any more...

Note that use ctrl+z to undo will still select text, because the application interpret ctrl+z before xvim has its chance. One way to overcome this is :

jordwalke commented 12 years ago

This sounds very reasonable

WarWithinMe commented 12 years ago

My bad, made a wrong statement.... The way to make ctrl+z not select text is : map ctrl+z to u, not ctrl+shift+z