vis: put in visual mode should replace the current selection
commitd4246cb8a14c77926a864d6e896b1e46332a16a1
authorMarc André Tanner <mat@brain-dump.org>
Tue, 17 Nov 2015 21:43:21 +0000 (17 22:43 +0100)
committerMarc André Tanner <mat@brain-dump.org>
Tue, 17 Nov 2015 21:43:21 +0000 (17 22:43 +0100)
treea6709d0c406ac96f500bbb3fc041864a54ad9098
parent91c043a5382e142d7ea69d47c29c74a2172e9f60
vis: put in visual mode should replace the current selection

There are some combinations (e.g. line wise selection / character
wise register content) which should probably be improved further.

Also since vis currently neither supports the numbered registers
"0 - "9 nor the small delete register "- the deleted text is
not stored in any register. Notice that we can't call op_delete
in the implementation because it would overwrite the register
content we want to paste.

Closes #113
vis-operators.c