how to move between command and insert mode in vi editor in linux code example Example: linux vi Use Vim instead of Vi. Vim is easier to use.