Keeping 2 Macs Synced?

I have an iMac and am looking into buying a MacBook. Is there an easy way to keep my files synced so that I can work on one project while switching between computers? Or am I just going to have to copy files back and forth manually?

Thanks!