From 35ade90ba581ab52c15843f68884afa28a492a8c Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Sun, 12 May 2019 21:49:17 +0200 Subject: [PATCH] Howto auto-indent all lines --- Home.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Home.md b/Home.md index 3ca2df6..92c4faa 100644 --- a/Home.md +++ b/Home.md @@ -9,4 +9,11 @@ set tabstop=2 set softtabstop=2 set shiftwidth=2 syntax on -``` \ No newline at end of file +``` + +### 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` \ No newline at end of file