Update default editor and set option

vim is default editor and vi is set option for shell.