Skip to main content

All Questions

Filter by
Sorted by
Tagged with
142 votes
8 answers
214k views

How can I easily move a line?

What is the command (or shortcut) to move a line up or down in vim? My current workflow is to yank (copy) the line and than delete that line and than to put (paste) that line.
Vader's user avatar
  • 1,705