# Vim

### Lesson 1

The cursor is moved using either the arrow keys or the hjkl keys&#x20;

```
h (left), j (down), k (up), l (right)
```

To start vim from the shell prompt type&#x20;

```
vim some-file <ENTER>
```

To exit vim

```
:q! --> force quit without saving 
:q --> quit without saving 
:wq --> save and quit 
```

To delete the character at the cursor&#x20;

```
x
```

To insert or append text type

```
i --> type inserted text --> insert before the cursor 
A --> type appended text --> append at the end of the line
```

### Lesson 2

To delete from the c
