Unit #0-02
Welcome to the fraction of a fraction!
Learning Outcome
Learning Outcome
At the end of this lesson, you will be able to:
use some basic Vim commands
Review
Review
make sure you have updated your Linux environment:
sudo apt update && sudo apt -y full-upgrade
Lesson
Lesson
what is Vim:
go over basic Vim commands:
a good way to open it, with directory structure
vim . → open Vim in the current directory
command mode is where you start in Vim; insert mode is where you insert text
esc → to get back to command mode
i → to get to insert mode from command mode
:wq → save the changes to the file & quit
Note: you must be in command mode to do this!
do, basic, demo of how to use Vim; 6 keys for movement
move: j, k, h, l
forward by word: w
backwards by word: b