I use Vim for text/code editing because when you starting understanding how it works (it take some time but it's worthy) you just fall in love with the tool!
The big advantage is that you can edit a text file anywhere if you are working in the unix environment (it may be possible to use it elsewhere also).
The configuration can be easily setup if you are using a dotfiles repository like mine: https://github.com/MartinDelille/dotfiles.