0

I'm trying to add the line HELLO WORLD to the beginning of my file from normal mode. How do I do this?

2
  • 2
    Do you mean ggOHELLO WORLD<Esc>? Please edit the question to further explain what you'd like to do, what you have tried, why it didn't work, and so on... Thanks!
    – filbranden
    May 28 at 23:07
  • 1
    Also :0put ='hello world'<cr>gUU
    – D. Ben Knoble
    May 29 at 0:51

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.