Answers

Question and Answer:

  Home  Vi Editor

⟩ What is the difference between lettered buffer and temporary buffer in Vi Editor?

Temporary Buffer

Deleted or copied text goes into a temporary unnamed

buffer. The contents of the temporary buffer may be

retrieved by using the p or P commands.

Lettered Buffers

There are 26 lettered buffers (a-z). Contents of a lettered

buffer are saved until you copy or delete more characters

into it, or until you quit your current vi session.

eg.

From Command Mode

"ayy Copy (yank) a line into buffer letter "a"

"ap Put contents of lettered buffer a below the

current line

 218 views

More Questions for you: