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
- [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.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
Configuration files1m 57s
-
(Locked)
Challenge: Set line numbers5s
-
(Locked)
Solution: Set line numbers15s
-
(Locked)
Map keys1m 14s
-
(Locked)
Challenge: Map key6s
-
(Locked)
Solution: Map key19s
-
(Locked)
Abbreviations1m 47s
-
(Locked)
Challenge: Abbreviate email14s
-
(Locked)
Solution: Abbreviate email27s
-
(Locked)
Add commands1m 35s
-
Challenge: Create command15s
-
(Locked)
Solution: Create command27s
-
(Locked)
Various settings2m 46s
-
(Locked)
Challenge: Edit .vimrc10s
-
(Locked)
Solution: Edit .vimrc34s
-
(Locked)
-
-