From the course: Learning Vim

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Solution: Create command

Solution: Create command - vi Tutorial

From the course: Learning Vim

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