added ruby gem dir; some cleaning
added vi command mode