How to keep two macs synced?
So, I have a macbook air right now (early 2014 if it matters), and was thinking about purchasing one of the new iMacs. I am a college student, and I was in my school's computer lab the other day because I had forgotten my laptop at home and I used one of their macs. I absolutely loved the larger screen. So much so that I decided to buy one. But I do have one major concern before I take the leap of faith. How would I be able to keep both my macbook and iMac synced? I would like for both of them to have the same files, pictures, ect. If I finish a homework assignment on my iMac I would like for it to show up on my macbook when I turn it on. Is this even possible? Would they both have to be on the same wifi connection for it to work, or can I make a file at home and have it show up on my macbook when i'm at school? I'm sorry if the solution to my answer might be obvious, but I have only been using Mac OS for about a year now. Thanks!