add key binding and default editor to vim