config_api.d.elv 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. #elvdoc:var max-height
  2. #
  3. # Maximum height the editor is allowed to use, defaults to `+Inf`.
  4. #
  5. # By default, the height of the editor is only restricted by the terminal
  6. # height. Some modes like location mode can use a lot of lines; as a result,
  7. # it can often occupy the entire terminal, and push up your scrollback buffer.
  8. # Change this variable to a finite number to restrict the height of the editor.
  9. #elvdoc:var before-readline
  10. #
  11. # A list of functions to call before each readline cycle. Each function is
  12. # called without any arguments.
  13. #elvdoc:var after-readline
  14. #
  15. # A list of functions to call after each readline cycle. Each function is
  16. # called with a single string argument containing the code that has been read.
  17. #elvdoc:var add-cmd-filters
  18. #
  19. # List of filters to run before adding a command to history.
  20. #
  21. # A filter is a function that takes a command as argument and outputs
  22. # a boolean value. If any of the filters outputs `$false`, the
  23. # command is not saved to history, and the rest of the filters are
  24. # not run. The default value of this list contains a filter which
  25. # ignores command starts with space.
  26. #elvdoc:var global-binding
  27. #
  28. # Global keybindings, consulted for keys not handled by mode-specific bindings.
  29. #
  30. # See [Keybindings](#keybindings).