How To Reformat or Re-indent Files in VIM

In the normal vim mode, typing gg=G will reindent the entire file. == will re-indent just the current line. http://vim.wikia.com/wiki/Fix_indentation
In the normal vim mode, typing gg=G will reindent the entire file. == will re-indent just the current line. http://vim.wikia.com/wiki/Fix_indentation
Categories: How-To's, Technology Tags: Auto-indent, Format, howto, Indent, perl, re-indent, Reformat, tips, vi, vim
|
No comments
Copyright © 2005-2025 Eric Michael Stone | Random Thoughts, Whims and Fancies…. Powered by WordPress