set vi editing mode for R