Howto auto-indent all lines

2019-05-12 21:49:17 +02:00
parent 4d991ef26e
commit 35ade90ba5

@@ -9,4 +9,11 @@ set tabstop=2
set softtabstop=2
set shiftwidth=2
syntax on
```
```
### Auto indent all lines
**=**, the indent command can take motions.
So, **gg** to get the start of the file, **=** to indent, **G** to go to the end of the file:
`gg=G`