replace with previous-line/next-line for mode-dependent behavior
remove unnecessary yank and indent