I just started playing vimgolf and saw a solution that used this command to select a line and copy it to the line specified. I searched google and vim's documentation and couldn't find anything about what this command is. I was only able to find :m which would move lines but this one seems to copy lines and paste them. What does the 't' stand for, is it still "til" because that doesn't make sense to me?


1 Answer 1


You probably just needed to include the colon in your help search. It's in there.

:[range]co[py] {address}              *:co* *:copy*
        Copy the lines given by [range] to below the line
        given by {address}.

:t      Synonym for copy.

As to why it's a synonym for copy, it doesn't say. There may be a history reason but I don't know it.

See :help :t.

  • I've read somewhere about "copy to" as the source of synonym
    – grodzik
    Commented Apr 24, 2017 at 16:21
  • Well... it looks like I need to learn how to use vim help because that was exactly what I was looking for I just didn't know how to get there. I was looking under the help for cmdline.
    – Kasper-34
    Commented Apr 24, 2017 at 16:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.