I'm trying to add the line HELLO WORLD
to the beginning of my file from normal mode.
How do I do this?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityI'm trying to add the line HELLO WORLD
to the beginning of my file from normal mode.
How do I do this?
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!:0put ='hello world'<cr>gUU