Tmux Wrapper for Neovim

November 7, 2025 ยท View on GitHub

libtmux logo

Tmux Wrapper for Neovim

Develop your own workflow around tmux using Neovim Lua.

libtmux.nvim offers a clean interface to interact with tmux inside Neovim.

Disclaimer: This is a work in progress. The idea is to wrap the complete TMUX API

API

Tmux CommandCategoryFunction% implemented
switch-clientSessionTmux:switch_client80%
rename-sessionSessionTmux:rename_session100%
new-sessionSessionTmux:new_session80%
has-sessionSessionTmux:session_exists100%
new-windowWindowTmux:new_window90%
select-windowWindowTmux:select_window60%
kill-windowWindowTmux:kill_window100%
send-keysWindowTmux:send_keys70%
run-shellWindowTmux:run_shell100%
list-windowsWindowTmux:list-windows90%
break-panePaneTmux:break_pane80% (Format)
capture-panePaneTmux:capture_pane100%
join-panePaneTmux:join_pane100%
kill-panePaneTmux:kill_pane100%
last-panePaneTmux:last_pane100%
resize-panePaneTmux:resize_pane100%
swap-panePaneTmux:swap_pane100%
select-panePaneTmux:select_pane100%

Attention: It is highly recommended to use the Tmux: functions instead of accessing the different modules for it as those can change and break more often.

Contributing

If you want to contribute to the project this is your section. First of all, thank for considering helping develop and mantain it, I appreciate it.

Now, this project does not try to reinvent the wheel or reimagine what tmux is about. Instead it focuses on being the thinnest layer between Neovim and Tmux. You should use the official tmux manual to implement the missing functions, fix current code or mantain it in different versions.

If you have a workflow that is composed of multiple tmux functions you still can submit a PR and if approved it will be added to an special module of it.

The guidelines and templates will soon be available.