svermeulen / vim-easyclip

Simplified clipboard functionality for Vim
689 stars 21 forks source link

MoveMotionReplaceLinePlug vs MoveMotionLinePlug #97

Closed matrinox closed 7 years ago

matrinox commented 7 years ago

First of all, the name suggests replace but really it's just cut. Second, MoveMotionLinePlug does everything that MoveMotionReplaceLinePlug does but also supports count. What's the usefulness for MoveMotionReplaceLinePlug?

svermeulen commented 7 years ago

I think you'll want to use MoveMotionLinePlug. The only difference is that MoveMotionReplaceLinePlug does not cut the new line character (just the contents of the line).

I agree that the name is terrible, but it's too late to change since people might be using it.

matrinox commented 7 years ago

Yeah, that's the problem with making an interface public. Thanks for clarifying the really minor difference lol