Of course, we have said much more here than was necessary (after all, the first aim was to edit a text file), but it is also to show you some of the possibilities of each of these editors. There is a great deal more to be said about them, as witnessed by the number of books dedicated to both of these editors.
Take the time to absorb all this information, opt for one of them, or learn only what you think necessary. But at least you know that when you want to go further, you can :-)