svermeulen / vim-easyclip

Simplified clipboard functionality for Vim
696 stars 21 forks source link

paste: preserve selection when pasting in Visual mode #89

Closed Coacher closed 7 years ago

Coacher commented 8 years ago

Simply save/restore relevant marks otherwise "_d will screw things up.

Coacher commented 8 years ago

Example file:

123
456
789

Steps to reproduce the problem: jVGygvpgv

Actual results: Nothing is selected.

Expected results: The second and the third lines are selected.

Coacher commented 8 years ago

The similar problem affects XG_EasyClipPaste, but there's no such simple fix for that.