Skip to content

Commit

Permalink
gg=G to beautiful other files when press F6
Browse files Browse the repository at this point in the history
  • Loading branch information
ma6174 committed May 19, 2013
1 parent e93674b commit b859482
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ func FormartSrc()
exec "!astyle --style=gnu --suffix=none %"
elseif &filetype == 'xml'
exec "!astyle --style=gnu --suffix=none %"
else
exec "normal gg=G"
endif
exec "e! %"
endfunc
Expand Down

0 comments on commit b859482

Please sign in to comment.