Add rails restart and vi mode