tags: #vim , #basics links: [[010 Vim MOC]] --- # Command Mode Command mode has a variety of commands and can do things that normal mode can't do easily. To enter command mode type `:` from normal mode and then type your command which should appear at the bottom of the window. - `:%s/foo/bar/g` - to replace all 'foo' with 'bar' Vim has a number of other methods that you can read about in the help documentation, `:h`