o VIM Command

How to use o Command in Linux VIM editor?


o stands for Open a new line below the current line
This command is used to create a new line below the current line. Then, the editor will go to insert mode automatically.




  • Open the file test.txt using the command
    $ vim test.txt
  • The cursor is on the first line now.
    o Vim Command
  • To open a new line and go into insert mode
    Press o
    Open a New Line using Linux Vim

Ask Questions

Ask Question