A Bunch of Linux Baloney
Where I keep Linuxisms I want to remember.
Thursday, December 12, 2013
Indenting code with vim
This
stackoverflow post
has a wealth of information about indenting, and particularly indenting code blocks in vim.
Though the block indent stuff doesn't seem to work with shell scripts, the re-indent entire buffer command does:
gg=G
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment