Atom is an excellent open source text editor that I have switched to recently. Atom requires a network connection to update itself, install packages etc. This usually just works out-of-the-box.
However, if you are behind a proxy server, the proxy settings for Atom can be specified as below. Run the commands below at the OS's command line.
Specify The Proxy Server In Atom