Difference between "vi" and "vim" editor

Difference between "vi" and "vim" editor

Before heading towards difference between vi and vim editor. If your concerned is towards functionality then both editors work in the same manner, which editor you choose it's your choice. Some people recommend learning the "vim" editor because of it's improved version of vi (added features, learning) and using vim editor is much easier than the vi editor.

-> vim has all features as vi but with some excellent additions.

The reason we are using vi editor because it was first introduced in UNIX/LINUX systems.

You can learn vi editor https://amitmaurya.hashnode.dev/linux-file-editor from this blog.

For learning vim editor many websites that have vim interactive training.

1) https://openvim.com/

2) http://vimgenius.com/lessons/vim-intro

This third one is more interesting because you are going to learn vim by playing game.

3) https://vim-adventures.com/

vim editor has two basic modes :

1) Insert Mode: By entering into insert mode, you can write text.

2) Normal Mode: It is same like command mode in vi editor, by pressing esc button you will enter in normal mode.

Venn Diagram of Difference between vi and vim editor :

  • Folding is a feature that hides the chunk of text in vim editor.

  • We can type unicode in vim editor.

I hope you'all learned the difference between vi and vim editor and it's totally on up to you which editor you want to choose.

Let's mee again in new blog with new topic. You can follow me on Twitter and on Hashnode for more amazing Linux and DevOps blogs.

Till then, take care !!

HAPPY LEARNING !!!

THANK YOU :)