Describe the common modes in vim.
Normal mode – For navigating and issuing commands.
Insert mode – For editing text.
Visual mode – For selecting blocks of text and issuing associated commands.
Command-line mode – For entering commands like :w, :q, and :s/foo/bar/g.