Plugin - tmuxp.plugin

Plugin system for tmuxp.

tmuxp.plugin.TMUX_MIN_VERSION = '3.2'
data

Minimum version of tmux required to run tmuxp

tmuxp.plugin.TMUX_MAX_VERSION = None
data

Most recent version of tmux supported

tmuxp.plugin.LIBTMUX_MIN_VERSION = '0.8.3'
data

Minimum version of libtmux required to run libtmux

tmuxp.plugin.LIBTMUX_MAX_VERSION = None
data

Most recent version of libtmux supported

tmuxp.plugin.TMUXP_MIN_VERSION = '1.6.0'
data

Minimum version of tmuxp required to use plugins

tmuxp.plugin.TMUXP_MAX_VERSION = None
data

Most recent version of tmuxp

class tmuxp.plugin.Config

Bases: TypedDict

tmuxp plugin configuration mapping.

tmuxp.plugin.validate_plugin_config(config)
function[source]

Return True if tmuxp plugin configuration valid, also upcasts.

Parameters:

config (PluginConfigSchema)

Return type:

TypeGuard[Config]

tmuxp.plugin.setup_plugin_config(config, default_config={'libtmux_max_version': None, 'libtmux_min_version': '0.8.3', 'libtmux_version_incompatible': None, 'plugin_name': 'tmuxp-plugin', 'tmux_max_version': None, 'tmux_min_version': '3.2', 'tmux_version_incompatible': None, 'tmuxp_max_version': None, 'tmuxp_min_version': '1.6.0', 'tmuxp_version_incompatible': None})
function[source]

Initialize tmuxp plugin configuration.

Parameters:
Return type:

Config

class tmuxp.plugin.TmuxpPlugin

Bases: object

Base class for a tmuxp plugin.