FTerm.nvim
toggleterm.nvim
Our great sponsors
FTerm.nvim | toggleterm.nvim | |
---|---|---|
19 | 89 | |
684 | 3,600 | |
- | - | |
0.0 | 8.0 | |
5 months ago | 7 days ago | |
Lua | Lua | |
MIT License | GNU General Public License v3.0 only |
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.
FTerm.nvim
-
Easy Access to Terminal Commands in Neovim using FTerm
To achieve our goals of fingertip access nirvana, we are going to be using a plugin called FTerm.nvim.
-
Hi vimmers! Does any one use F[1..12] keys and what for? Cheers!
i use F2 to toggle Fterm
-
Is there a lua-based terminal plugin that opens files in the host instance of neovim for edit?
IIUC this request https://github.com/numToStr/FTerm.nvim/issues/67 is also similar to your use case. I might implement this in FTerm.nvim but I have to study the client-remote thingy.
- how to get a terminal window like in spacevim?
-
sterm.nvim - A stupid terminal (and my first plugin)
Have you checked out https://github.com/numToStr/FTerm.nvim?
-
Your git setup for neovim?
gitui inside FTerm.nvim has been my preferred method to interact with git from within nvim. gitui has indeed proven to be a great frontend to git.
-
I appreciate the excellent FTerm.nvim plugin
I did a bit of hunting and came across FTerm.nvim and I immediately notice that it is created and maintained by numToStr who also maintains Comment.nvim which is my preferred Neovim commenting plugin, which has always always worked great.
-
How to open the zsh terminal within Neovim like in this example below?
If you’re talking about the terminal inside a floating window, I think fterm.nvim is one which people commonly use.
-
Run Any Language with Same Macro!
It only work for very simple situation (project with only one build target), but it quite save a lot of time for me. For much complex situation, I prefer to write a singe bash script for specific project, and run them in FTerm
-
How do you guys work with terminals?
I use the Fterm plugin since one terminal is usually all I need (nothing too complicated). The plugin allows toggling of a floating window so the terminal doesn't get in the way. I also have a custom terminal for ranger using Fterm. One can use any cli app or command even and have it appear and disappear in a floating window using the plugin.
toggleterm.nvim
-
Neovide – a simple, no-nonsense, cross-platform GUI for Neovim
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
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.
-
Noobie Needs a Nudge
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?
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?
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
but I ended up finding a good enough workaround by using Lazygit through Toggleterm.
The only thing I truly miss from Emacs is [Magit](https://magit.vc/) since I still consider it the best git wrapper available. It is just too good. Unfortunately [Neogit](https://github.com/TimUntersberger/neogit) is not quite there yet although I hope it makes it at some point. I didn't like [Fugitive]https://github.com/tpope/vim-fugitive), but I ended up finding a good enough workaround by using [Lazygit](https://github.com/jesseduffield/lazygit) through [Toggleterm](https://github.com/akinsho/toggleterm.nvim).
-
Just got neovim up and working
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
-
Thinking about migrating from vim, why should I?
better terminal support, and especially toggleterm, which allowed me to drop tmux from my workflow.
-
My project manager plugin
The commands can be either raw vim commands, lua functions, sequential commands (multiple commands executed in order), or commands executed in a ToggleTerm window
What are some alternatives?
vim-floaterm - :computer: Terminal manager for (neo)vim
neoterm - Wrapper of some vim/neovim's :terminal functions.
multiterm.vim - Toggle and Switch Between Multiple Floating Terminals in NeoVim or Vim
AstroNvim - AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins
tmux - tmux source code
nvim-toggle-terminal - NeoVim plugin that toggles a terminal buffer in the current window maintaining the same shell instance
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]
lazygit - simple terminal UI for git commands
neomux - Control Neovim from shells running inside Neovim.
diffview.nvim - Single tabpage interface for easily cycling through diffs for all modified files for any git rev.
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
grammar-guard.nvim - Grammar Guard is a Neovim plugin that checks your grammar as you write your LaTeX, Markdown or plain text document.