code: def load_open_in_editor_bindings() -> KeyBindingsBase:
      """
      Load both the Vi and emacs key bindings for handling edit-and-execute-command.
      """
      return merge_key_bindings(
          [
              load_emacs_open_in_editor_bindings(),
              load_vi_open_in_editor_bindings(),
          ]
      )
  
imports: from __future__ import annotations
  from prompt_toolkit.filters import emacs_mode, has_selection, vi_navigation_mode
  from ..key_bindings import KeyBindings, KeyBindingsBase, merge_key_bindings
  from .named_commands import get_by_name
label_desc: Use image node_id 1 for calling a global function with example usage: load_open_in_editor_bindings() and returns: merge_key_bindings