Sublime Text is an awesome text editor. You can get it either from its website or, if you are on a mac, by running the following:
brew cask install sublime-text
Now you need Package Control, that you can either install via the command they offer on their website or, if you have an updated version of Sublime Text, you should find an option to install it under "Tools".