used hack to make vi mode persistent, see http://unix.stackexchange.com/a/110877/1925