Skip to main content

Reindention: Vi



gg=G
Using this command in vi, it reindents the whole file.
Basically,

gg: Go to start of the file.
 G: End of the file.
 = intends.

Comments

Popular posts from this blog

Find : Multiple files with different strings

Use find command for multiple search string? Yes, we can. find . -type f \( -name "*.xvg" -o -name "*.log" \) We must not forget to have space before -name  in both the above occurrences. Enable Ginger Cannot connect to Ginger Check your internet connection or reload the browser Disable in this text field Edit Edit in Ginger Edit in Ginger ×