Neovim plugin that toggles a tmux terminal in a vertical or horizontal pane on the current window. It keeps one tmux pane per work directory and opens the pane corresponding to the same work directory of the current buffer.
Via lazy.nvim:
{
'hsanson/tmux-terminal.nvim',
cmd = "TmuxTerm"
opts = {
-- Number of lines or percentage.
size = "30%",
-- top, left, right, or bottom.
position = "bottom"
}
},
:TmuxTerm -- Open a tmux terminal for the current work directory.
:TmuxTerm size 40% pos right