refactor dd command
refactor cc command
presever multiple sels after dd'ing
adjust sels
delete file
rename command
add comments
Merge pull request #792 from my-personal-forks/refactor-dd-cmd

Refactor dd cmd