Dropbox, Simplenote and SimpleText can all keep your text files in sync.
See also: web pages I've bookmarked, and tagged with ‘sync’.