diff --git a/cheat/vim.md b/cheat/vim.md index 80ab4be..015b2be 100644 --- a/cheat/vim.md +++ b/cheat/vim.md @@ -15,3 +15,7 @@ And type: `:set key=` Finally type `:wq` to save and close the file. + +### Indent the whole file in VIM ([src](https://stackoverflow.com/questions/506075/how-do-i-fix-the-indentation-of-an-entire-file-in-vi)) + +`gg=G`