def load_vi_open_in_editor_bindings():
 registry = Registry()
 navigation_mode = (ViMode() & ViNavigationMode())
 registry.add_binding(u'v')(get_by_name(u'edit-and-execute-command'))
 return registry

def load_vi_open_in_editor_bindings ( ) : registry = Registry ( ) navigation_mode = ( ViMode ( ) & ViNavigationMode ( ) ) registry . add_binding ( u'v' ) ( get_by_name ( u'edit-and-execute-command' ) ) return registry
pressing v in navigation mode will open the buffer in an external editor .