improve behaviour: when c-d is pressed on empty line, content of previous line is copied