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: Edit .vimrc
- [Instructor] I'm on a Mac so my vimrc is .vimrc under the home directory. So vim tilde slash dot vimrc. And now I for insert mode. We say that syntax is on. And the colorscheme is morning. Now escape from normal mode and colon wq to save the changes. Now when we open hello.py, we can see that syntax highlighting is on and that the color scheme is morning.
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)
-
-