transient VS toggleterm.nvim

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

toggleterm.nvim

A neovim lua plugin to help easily manage multiple terminal windows (by akinsho)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
transient toggleterm.nvim
24 89
606 3,732
0.3% -
9.3 8.2
3 days ago 10 days ago
Emacs Lisp Lua
GNU General Public License v3.0 only GNU General Public License v3.0 only
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.

transient

Posts with mentions or reviews of transient. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-09.
  • On Desktop GUI Minimalism
    5 projects | news.ycombinator.com | 9 Sep 2023
    > Even in this article just a few sentences after stating we should start from first principles he then jumps into the assumption of the "desktop".

    Agree. Although I can see how the idea of "first principles" can be a very difficult starting point. A blank sheet of paper is a scary monster.

    There's a huge breadth and depth of non-"desktop" GUIs out there, some (like smartphones) are even wildly successful. It's good to explore them for inspiration. Some of my favourites:

    - Arcan (https://arcan-fe.com/about/) - I won't attempt to summarize, just dive in!

    - SailfishOS (https://sailfishos.org/) - mobile UI focused on interaction through gestures / swipes; I've used it as my daily driver for a couple years.

    - Speaking of mobiles, classic Nokia UIs allowed you to navigate to a specific item in the menu by pressing the corresponding digit on the dial pad. Once you learned where a particular item is, accessing e.g. your SMS inbox was extremely quick.

    - Apple Watch / WatchOS (https://www.apple.com/watchos/) - I've always loved the idea of a device where one of the primary interaction methods was a wheel/dial of some sort. The watch even gives you context-sensitive tactile feedback.

    - ZUIs in general (https://en.wikipedia.org/wiki/Zooming_user_interface) and the work of Jef Raskin in particular: https://en.wikipedia.org/wiki/Archy_(software) - this is the guy who helped design the Macintosh, but his other work took a radically different route.

    - Magit (https://magit.vc/). Many common git operations are reduced to a couple of keystrokes; the obscure features are more discoverable, and the cumbersome procedures (such as rebasing, or staging individual hunks) become simple and intuitive. Also check out transient (https://github.com/magit/transient), which is the "UI toolkit" that powers Magit.

  • Warp is a modern, Rust-based terminal with AI built in
    2 projects | news.ycombinator.com | 22 Jun 2023
    True, and I'd personally rather move away from Emacs to something more modern. (Helix is great, although I appreciate the irony of it being terminal-only, while Emacs supports several different window systems natively.) Magit is the only real reason I'm sticking with Emacs.

    Magit itself is powered by <https://github.com/magit/transient>, which I see more as an interaction paradigm than a library; it could enable more ergonomic interaction with other stateful tools that are typically native to the command line / terminal (such as docker/kubectl, systemctl, mpd/mpc, etc). Rather than using Emacs as a middle layer, Transient could build on top of pluggable native toolkit backends, such as Cocoa, Gtk, Win32, or even web or a terminal.

    We continue investing into terminals because the terminal remains the lowest common denominator of interacting with a computer. On the other end of the spectrum we have Electron, which has very clear and obvious downsides. I think there is low-hanging fruit with amazing ROI somewhere in the middle, and Magit/Transient is an example of what it could be.

  • What do you use for git integration in neovim?
    8 projects | /r/neovim | 6 Jun 2023
    You can also manage via a holistic UI: - Bisection - Log and reflog, stashes - subtrees, submodules - certain third party subcommands like git-absorb, and extend it with your own - interact with issues and pull requests via forge - pretty much all of the hundreds of CLI flags via a modal UI that got generalized and extracted to a lib called transient - well-integrated diff and conflict resolution (which is mostly just smerge) - the rebase/cherry-pick workflows I liked the best, including support for --update-refs - at any time you can always press a key to see the raw commands and output that it's using, which taught me a ton of corner cases - IMO it has a great manual
  • Transient Demo Requests?
    3 projects | /r/emacs | 11 May 2023
    See https://github.com/magit/transient/issues/239 .
  • Transient v0.4.0 released
    2 projects | /r/emacs | 10 May 2023
    More information can be found on my blog and in the release notes.
  • Dynamic Transient Infixes Based on Current Values of Other Infixes
    1 project | /r/emacs | 22 Apr 2023
    AFAIK :if etc. do not "live update", but only function on initial prefix setup (see this issue). You could use a sub-prefix that evaluates settings from its parent to set the available options. Another tip: add an incompatible list so you can't get two desserts:
  • I cannot get EmacSQL to work
    4 projects | /r/emacs | 15 Apr 2023
    Yeah, ok, simplest is then to just trash the transient folder and either let Emacs clone it again on startup, or manually clone it: https://github.com/magit/transient
  • Khoj Chat: A Search Assistant for your Org-Mode Notes
    2 projects | /r/emacs | 27 Mar 2023
    M-x khoj RET c via transient
  • Transient for resizing windows
    1 project | /r/emacs | 6 Nov 2022
    This is about resizing the frame, but might also be relevant: https://github.com/magit/transient/issues/216.
  • quick-actions.el: Uniform Compile/Run/Debug across programming languages
    3 projects | /r/emacs | 12 Jun 2022
    Will a hydra or a transient menu?

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-01-31.
  • 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.
  • Just got neovim up and working
    2 projects | /r/neovim | 21 May 2023
    Perhaps you want something like https://github.com/akinsho/toggleterm.nvim and make a custom profile? Remapping a key for each extension seems fine as well, just remap it per-buffer inside of on_attach

What are some alternatives?

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

emacs-lite

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

ani-cli - A cli tool to browse and play anime

neoterm - Wrapper of some vim/neovim's :terminal functions.

emacs-light - My lightweight bare necessities emacs config

multiterm.vim - Toggle and Switch Between Multiple Floating Terminals in NeoVim or Vim

crunchyroll-go - 📚 A Crunchyroll (beta) API implementation in Go

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

anime-helper-shell - A python shell for searching, watching, and downloading anime.

tmux - tmux source code

evil - The extensible vi layer for Emacs.

AstroVim - AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins [Moved to: https://github.com/AstroNvim/AstroNvim]