Skip to content

NeoVim Introduction#

Install#

1
sudo apt install neovim
  • To open neovim using command
1
nvim

Vim Modes#

  • By default when we open a file in vim, we are staying at command mode. In this mode we can do action like move, search, copy, delete line and so on.
  • Then if we want to change to insert mode which allow us to write texts into a file. Then we just need to press I or insert for insert mode. Then if you want to go back to command mode you just need to press esc.

Commands#

  • To move in neovim
h: to move left
j: to move down
k: to move up
l: to move right