title: How to copy all the text from vim editor using vim command line?
body: <p>I want to select all the text from the vim editor, I tried the command <code>:%y+</code> but getting error <code>E850: Invalid register name</code>. I get this command from <a href="https://stackoverflow.com/questions/1620018/copy-all-the-lines-to-clipboard">this link</a>. Please help me how to copy all the text from file which is open in vim. They are using yank, what is meaning of it..</p>