toggleterm.nvim VS tmux

Compare toggleterm.nvim vs tmux and see what are their differences.

toggleterm.nvim

A neovim lua plugin to help easily manage multiple terminal windows (by akinsho)
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
toggleterm.nvim tmux
90 228
4,964 38,032
1.9% 1.3%
6.8 9.1
4 months ago 10 days ago
Lua C
GNU General Public License v3.0 only GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

toggleterm.nvim

Posts with mentions or reviews of toggleterm.nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-06-24.
  • Ultimate Neovim Setup Guide: lazy.nvim Plugin Manager
    25 projects | dev.to | 24 Jun 2024
    akinsho/toggleterm.nvim: A neovim lua plugin to help easily manage multiple terminal windows.
  • Neovide – a simple, no-nonsense, cross-platform GUI for Neovim
    17 projects | news.ycombinator.com | 31 Jan 2024
    As a data point, I'd like to chime in here. I have been a 15 year user of tmux (and screen before that) and never thought I'd change my development habits. Over the holidays I decided I would do one of those once-every-five-years upgrades to my vim setup as I had accrued dozens of vendored plugins in normal vim and wanted to see what the big deal with neovim was.

    I bit the bullet and evaluated some of the "distributions" (AstroNvim and kickstarter) and played around with all the new lua plugins that I had never thought I needed (why use telescope when FZF-vim worked so well?).

    Anyways, after a month of tweaking and absorbing, I found myself running Neovide only, and doing something I never thought I'd see, running tmux from within neovim/neovide. I think this only works (for me) because of session management (there are half a dozen plugins for handling quickly changing 'workspaces') and because the built-in terminal (with a very useful plugin called toggleterm: https://github.com/akinsho/toggleterm.nvim) works so well.

    I have not stopped using tmux and layouts, and it sits in another fullscreen iterm2 workspace, but I find that I now spend 90% of my time using a fullscreen neovide and summoning/toggling tmux momentarily for running commands.

    Of course, the caveat here is that my preferred mode of operation is being fullscreen as often as possible. I think if your preferred mode of operation is to always see splits then running neovim from the terminal within tmux is still the way to go.

    As for why I like neovide? I find the animations, when tweaked to be less 'cool' are extremely useful to see where the cursor jumps to. I am also a huge fan of the fact that I can finally use 'linespace' to put some space between my lines of code -- it is an aesthetic I didn't realize I wanted.

  • NeoVim Capability Functions
    4 projects | /r/neovim | 3 Nov 2023
    For splitting the terminal you could try either toggleterm or tmux. If you want to send things from one tmux pane to another, then you can use slime. For a toggle-able filetree, you can use nvim tree.
  • Is there any gotchas for using Neovim's built in terminal?
    1 project | /r/neovim | 21 Sep 2023
    I just found toggleterm which feels awesome. Pretty much exactly what I was looking for to use with Alacritty but even better since its integrated into the rest of my Neovim workflow.
  • How to unfloat a terminal in Lazyvim
    1 project | /r/neovim | 12 Sep 2023
    I saw this plugin that tells me how to do it, however I got confused after I added "require("toggleterm").setup({})" in the lazy.lua file and installed the package as well using the Lazy command
  • VSCode-like terminal setup
    1 project | /r/neovim | 23 Jul 2023
    I tried toggleterm but I wasn't successful.
  • Noobie Needs a Nudge
    7 projects | /r/neovim | 30 Jun 2023
    And I never really got into Gitsigns or vim-fugitive. Lots of people love them, so I'm sure they're great, but I'm happy opening a floating terminal with Toggleterm and using Lazygit.
  • Using Floaterm, what's the best way to toggle between the editor and opened window and maintain the shell session?
    2 projects | /r/neovim | 6 Jun 2023
    I agree with u/Bamseg, but you can get what you want using toggleterm.nvim BUT NOT IN FLOAT.
  • What do you use for git integration in neovim?
    8 projects | /r/neovim | 6 Jun 2023
    I use gitsigns for linewise operations (blame, reset, etc), and a floating terminal (toggleterm) for everything else. flatten.nvim also helps with nested nvim instances.
  • Switching from Emacs. My experience
    20 projects | /r/neovim | 24 May 2023
    but I ended up finding a good enough workaround by using Lazygit through Toggleterm.

tmux

Posts with mentions or reviews of tmux. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-16.
  • Optimizing My Dev Workflow in 2025
    7 projects | dev.to | 16 Apr 2025
    Instead of opening a bunch of terminal tabs or windows, I switched to tmux. It lets me manage multiple sessions in one window, split panes, and run different services side by side. It’s lightweight, keyboard-driven, and fits perfectly with NeoVim.
  • Switching from tmux to Zellij
    3 projects | dev.to | 28 Feb 2025
    If you've used terminal multiplexer in command line, you know tmux is cool! If you haven't, you really should use something like tmux, especially if you SSH into remote servers often!
  • Switching Fully to Neovim
    9 projects | dev.to | 5 Feb 2025
    Additionally, I integrate several CLI tools into my work flow, such as lazygit for streamlined Git operations, yazi as a terminal file manager, tmux for session management, and lazydocker for handling Docker containers efficiently.
  • Increasing Global Developer Coverage for Open-Source Organizations: with Docker and PostgreSQL
    1 project | dev.to | 20 Jan 2025
    3. Running the App Entirely in Docker (with Persistent Data): For devs who prefer a fully containerized development environment, they can now the backend and database in Docker (my personal favorite method). This approach minimizes dependency conflicts and leverages Docker-specific PostgreSQL tools. To ensure persistent data storage, similar to a locally hosted PostgreSQL database, I configured Docker volumes. With Docker volumes, this enabled both staff developers and contributors to fully containerize the application without needing to re-populate the database with each new container. Additionally, this streamlined my pull request workflow as a maintainer, as I no longer needed to manually populate the database from a forked branch when reviewing complex pull requests locally. Of course, there are caveats to this method, forked pull request tests run on my machine using Docker volumes can alter my local database, but I quickly realized I could navigate this using tmux multiplexers or docker-compose.override.yml files (that is for a future blog post).
  • The Motivation Behind Systemd
    2 projects | news.ycombinator.com | 20 Jan 2025
    When systemd broke tmux (which isn't a Linux project, but ported from OpenBSD) and instead of reverting or fixing their own bug, systemd devs went to the OpenBSD folks and asked them to work around the bug that they caused themselves. This is ragebait-level insolence:

    https://github.com/tmux/tmux/issues/428

  • Ghostty 1.0
    36 projects | news.ycombinator.com | 26 Dec 2024
    This. To add some words why this is important:

    Given the remote-first container-based world we're heading towards, decoupling UI (terminal emulator) from its state (tmux, code-server) is a great design decision, which I think will ultimately define what the "next generation" of terminal emulators is. Imagine being able to open tabs directly on remote host, reconnect without losing state, etc, all while using native UI (so Cmd+T to open new tab, Cmd+F to search, etc). Productivity game changer, which currently only the iTerm2 users can fully enjoy.

    Ptyxis (putting its state in running containers), WezTerm (native handling of ssh sessions) and VSCode's terminal (starting a proprietary code-server binary and connecting to its TCP port) have reached some of this functionality, but in their design they need some out-of-band mechanisms to do their magic, ultimately limiting the scenarios they can handle.

    Meanwhile tmux -CC [0] and ht [1] are sending both their control channel and data channel over the opened terminal itself (in-band), making them flexible enough to support any configuration. Something complex like `ssh jumpbox -- ssh prod -- podman exec -it prod /bin/bash -- tmux -CC` should just work.

    [0] https://github.com/tmux/tmux/wiki/Control-Mode

    [1] https://github.com/andyk/ht

  • How to automate the launch of your terminal processes (fzf + tmux + teamocil)
    6 projects | dev.to | 27 Nov 2024
    What is tmux?
  • Turing Pi 2 Home cluster
    13 projects | dev.to | 7 Oct 2024
    This also gave me the chance to learn how to use Tmux. Best tool I've learned in a while.
  • Tmux 3.5
    1 project | news.ycombinator.com | 27 Sep 2024
  • Host Telegram Bot on Raspberry Pi 5
    2 projects | dev.to | 24 Sep 2024
    To keep it running in the background we can use tmux

What are some alternatives?

When comparing toggleterm.nvim and tmux you can also consider the following projects:

lazy.nvim - πŸ’€ A modern plugin manager for Neovim

emacs-theme-gruvbox - Gruvbox is a retro groove color scheme for Emacs. Port of the Vim version.

AstroNvim - AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins

zellij - A terminal workspace with batteries included

vim-floaterm - :computer: Terminal manager for (neo)vim

tilix - A tiling terminal emulator for Linux using GTK+ 3

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured