Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-dotnet

TmuxKeys.BindAsync

Binds a key to a tmux command.

Source and package
Qualified name
LibTmux.TmuxKeys.BindAsync
Namespace
LibTmux
Declared in
TmuxKeys
Package
LibTmux
Source
src/LibTmux/Keys/TmuxKeys.cs
Parameters
Returns

A task that completes once the binding is in place.

Errors

Recorded calls

source calls
No call edges in the C# model.

The C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.TmuxKeys.BindAsync.

tmux command

task material

The tmux commands behind BindAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 7 other ports mapped

Source-verified mappings for Bind a key to a tmux command. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

Bind a key to a tmux command in each port
PortAPIDiffers from C#
C# LibTmux.TmuxKeys.BindAsync
Binds a key to a tmux command.
This page
Python libtmux.Server.bind_key
Bind a key to a command via $ tmux bind-key.
on Server
Erlang tmux_key:bind/3
Register commands in the native prefix table with default options. Performs I/O; see bind/4 for replacement, command parsing and future execution.
free function
Rust server.Server.bind_key
Bind a key in one key table.
asyncon Server
Go tmux.Server.BindKey
BindKey binds Key to Command in a tmux key table. An empty Command creates a no-op binding. It mutates the table; cancellation does not prove that tmux did not bind Key.
on Server
Java io.github.libtmux.Keys.bind
Binds a key to a tmux command, given as its words.
on Keys
C++ libtmux::Server::bind_key
Bind a key in a key table, and take a binding away again.
on Serverreadonly
Raku LibTmux::Configuration::KeyBindings.bind
Bind a key to one command, with optional repeatability and literal note.
on KeyBindings
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent.

no equivalent on Server

No Swift equivalent.

no equivalent on Server

No OCaml equivalent.

No direct public OCaml equivalent is recorded for this operation.

No Perl equivalent.

No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc
Search in

Type to search.

Reference previewOpen reference