Hacker News new | ask | show | jobs
by thomastjeffery 3337 days ago
> Still having trouble with identation, though. vim is just smarter ...

While that is still generally true in my experience, it helps a lot to set c-style indentation to linux-style instead of gnu-style.

From the top of my .emacs:

    (setq c-default-style "linux"
          c-basic-offset)