euporie.core.filters
Define common filters.
Module Attributes
Determine if any binding style is in replace mode. |
Functions
|
Simple lightweight unbounded cache. |
|
Generate a condition to check for a character after the cursor. |
|
Verify a list of external commands exist on the system. |
|
Return the spec for the specified module. |
|
Verify a list of python modules are importable. |
|
Apply a function of two arguments cumulatively to the items of a sequence or iterable, from left to right, so as to reduce the iterable to a single value. |
|
Return a filter which indicates if a window is scrollable. |
|
Determine if the focused tab is of a particular type. |
|
Accept both booleans and Filters as input and turn it into a Filter. |
|
Given a command, mode, and a PATH string, return the path which conforms to the given mode on the PATH, or None if there is no such file. |
Classes
|
Turn any callable into a Filter. |
|
Enum to define edit mode state types. |
|
Create a new function with partial application of the given arguments and keywords. |
- euporie.core.filters.char_after_cursor(char: str) Condition
Generate a condition to check for a character after the cursor.
- euporie.core.filters.command_exists(*cmds: str) Filter
Verify a list of external commands exist on the system.
- euporie.core.filters.have_modules(*modules: str) Filter
Verify a list of python modules are importable.
- euporie.core.filters.insert_mode = Condition(<function vi_mode>)&Condition(<function vi_insert_mode>)|Condition(<function emacs_mode>)&Condition(<function emacs_insert_mode>)|Condition(<function micro_mode>)&Condition(<function micro_insert_mode>)
Determine if any binding style is in replace mode.