This plugin still under development
This plugin provides a framework to turns Neovim into terminal multiplexer (heavily based on tmux)
The intention of this plugin is to eliminate the need of tmux for a basic terminal multiplexing feature by leveraging Neovim split and tab features
For those who's on Windows, this could be a workaround for lack of tmux but only for terminal multiplexing
Table Of Contents
It is highly recommended to clone the repository (or download a zip file) and place it somewhere (
~/.tmux.nvim would work too)
git clone https://github.com/spywhere/tmux.nvim ~/.tmux.nvim
or install using a plugin manager of your choice, for example:
" neovim 0.5 or later that supports lua Plug 'spywhere/tmux.nvim'
Create a file named
init.lua and place it somewhere (in this example,
~/.tmux.nvim/init.lua will be used)
-- if you're cloning the repository, you will need to add the plugin directory -- to the 'runtimepath' vim.opt.rtp:append('~/.tmux.nvim') local tmux = require('tmux') -- some configurations go here tmux.start() -- this will start a terminal session
then, when you're ready to use Neovim as terminal multiplexer, just run
nvim -u ~/.tmux.nvim/init.lua
As the plugin still under development, please find the default configurations from following locations...
- Neovim configurations:
- Key bindings:
- Available commands:
Please note that some options are opinionated and will be updated to match tmux's defaults later on
During the development, you can use the following command to automatically setup a working configurations to test the plugin...
nvim -u tests/init.lua
Released under the MIT License