modified yank/kill-line for convenience