enums.py 358 B

12345678910111213141516171819
  1. from __future__ import annotations
  2. from enum import Enum
  3. class EditingMode(Enum):
  4. # The set of key bindings that is active.
  5. VI = "VI"
  6. EMACS = "EMACS"
  7. #: Name of the search buffer.
  8. SEARCH_BUFFER = "SEARCH_BUFFER"
  9. #: Name of the default buffer.
  10. DEFAULT_BUFFER = "DEFAULT_BUFFER"
  11. #: Name of the system buffer.
  12. SYSTEM_BUFFER = "SYSTEM_BUFFER"