Howto auto-indent all lines
9
Home.md
9
Home.md
@@ -9,4 +9,11 @@ set tabstop=2
|
|||||||
set softtabstop=2
|
set softtabstop=2
|
||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
syntax on
|
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`
|
Reference in New Issue
Block a user