Howto auto-indent all lines
7
Home.md
7
Home.md
@@ -10,3 +10,10 @@ 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`
|
Reference in New Issue
Block a user