I have read from a book that, vi allows the following commands:

"ayy, which means yank the current line into buffer named a.

"dP, which means paste the content in buffer named d before the cursor.

and so on.

These commands doesn't work on my Vim and MacVim.

I wonder if this command has been replaced by some others in my version of Vim.

I need help...

  • 2
    Note that Vim uses the word "buffer" for a file that is loaded into memory. You are referring to a "register". You can use the command :registers to see the content of the named registers. – Ralf Jan 1 at 21:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.