Closed jordwalke closed 12 years ago
Correction, you don't even need to highlight text and then delete it - any kind of deletion has this problem
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 :
ctrl+shift+z
ctrl+z
to u
in xvim using the keymap stuff....This sounds very reasonable
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
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.