editorコマンドで起動するエディタを変更する(Ubuntu)https://unix.stackexchange.com/a/204896sudo update-alternatives --config editor