Press i letter on your keyboard to start editing (Insert Mode). When youre done press the ESC key to exit insert mode
$ sudo update-alternatives --config editor