From the course: Learning Vim

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: Create command

Solution: Create command - vi Tutorial

From the course: Learning Vim

Start my 1-month free trial

Solution: Create command

- [Instructor] So VIM, and now :command with exclamation mark to make sure that this is the last one, and then we say Wc. You want to run the shell command, again with exclamation mark, wc, on the current file, which is the percent sign, and Enter, and now, if you edit sherlock.txt, you can run :Wc and Enter and see how many lines was in character as other.

Contents