Nvim as tmux replacement

Is there a good way to use nvim as a tmux replacement ? I want to use nvim to manage my terminals.

The reasons are:

  1. I’m a big fan of GitHub - folke/which-key.nvim: 💥 Create key bindings that stick. WhichKey is a lua plugin for Neovim 0.5 that displays a popup with possible keybindings of the command you started typing. – and I’d like my tmux/bash to have which-key type power.

  2. I use tmux/bash mostly for (a) monitoring programs, (2) moving files around, and (3) opening up nvim on certain directories. All three seems like things that can be easily done in nvim.

  3. I understand that nvim is not emacs, but I’m curious if there is a nice plugin to use nvim this way.

Thanks!

I switched from tmux to nvim years ago. The only plugin I use for this purpose is: kassio/neoterm. There are probably more modern or featureful alternatives, but it works like a charm.

Basically I open one and only one kitty tab, with

nvim --listen /tmp/nvimsocket

in it and then everything happens within this process, thanks to a few keybindings.

1 Like