Hacker News new | ask | show | jobs
by omurphy27 3347 days ago
This. I tried tmux but it required too much configuration, whereas Neovim just used my current terminal, already configured exactly the way I wanted it.

I had to make a few small tweaks, like making it easier to switch between VIM and terminal panes, but overall I'm very happy with the Neovim + terminal mode setup.

1 comments

One of the attractions of tmux is that you can attach/detach sessions in arbitrary terminals, which is incredibly handy when working remotely.

Does Neovim provide this functionality?

Nope, abduco adds it pretty seemlessly without getting in the way, but unfortunately it doesn't seem to handle mouse events which I use occasionally with vim.
I've been using abduco and neovim as my dev environment for the past month or so and am very happy with the setup. I don't rely on mouse events so didn't notice that missing. Whenever I log in local or remote I start a new session or attach to the existing one with `abduco -A nvim nvim`.
It's a really pretty awesome set up, but when I am primarily in terminal mode and have a lot of scroll back I want to yank from I frequently will reach for my mouse. Lack of mouse support has stopped me from using abduco consistently.

Seems like some solid software other than that, I'm glad there's an option that interferes so minimally.

I'm not sure if Neovim directly provides this functionality, though Neovim can be run inside a tmux session, and tmux sessions can run inside the Neovim terminal.