For those vim users who care about code intendation.,You may put this in vimrc. For those who not or your favourite IDE is gonna auto intend for you then exit(0) ;)
set expandtab (Tab key will create spaces)
set tabstop=4 (If you need 4 spaces for a tabkey. thtz wht I use)
set shiftwidth=4 (The auto indent aligns putting 4 spaces for the nestings for loops etc..)
No comments:
Post a Comment