Replace any current selection when using Put operator

It's kinda weird how we have multiple "with linewise contents" blocks here. I know that predated this PR, but would you be opposed to combining them before we add another?