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