I am having a problem in copying certain text from a file then copying it to a new split window.
3yy|new|p
in command mode its working
as when i press
‘p’ in split window after copying
its working
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I understand that you want to:
Is that correct?
What I don’t get is why you would want to do it from Ex mode while it’s so easy (and working) in normal mode:
I think that you are confusing ex mode, accessible with
Qand command mode, accessible with:. You probably also confuse the:p[rint]command and the:pu[t]command.Do the following from normal mode:
It may be helpful to know that you can also directly write those three lines to a file with: