This might sound a little strange, but I try to achieve to set up an ip address permanently in Ubuntu using the command line, but not an editor.
My idea is to provision servers and just type in the ip address once and the script takes care of this.
I just can't imagine there is nothing out there that writes
ifconfig eth1 10.1.1.1 netmask 255.255.255.0 up
into the /etc/network/interfaces
file.