7 ms·
Why should I use this over vim? I am a web developer so I am mostly editing html, JavaScript, ruby and css files. I love my tmux + vim setup. Give me reasons
by eibrahim 9y ago
Why should I use this over vim?
I am a web developer so I am mostly editing html, JavaScript, ruby and css files.
I love my tmux + vim setup. Give me reasons to switch. I mean practical reasons to switch not technical implementation niceties.
- justinmk 9y agoYou shouldn't feel compelled to switch, Nvim is intentionally user-compatible with Vim. But these days it also makes sense to ask instead "why should I use Vim?" The version of Vim that you actually use probably wasn't installed by default on your main development system. So installing Nvim is the same as upgrading Vim.
- alphaalpha101 9y agoI installed vim a while ago. It updates with the rest of my system, whenever I do a @world update. The question isn't whether someone should feel compelled to switch. The question is why would someone use neovim?
- majewsky 9y agoWhat do you use as your main development system? I'm on an Arch Linux VM, so I have an up-to-date Vim 8.0. And since Vim 8.0 does terminals and asynchronous jobs now, I don't see much value for Neovim unless you have an IDE that integrates Neovim via its API.
- gjjrfcbugxbhf 9y ago> unless you have an IDE that integrates Neovim via its API. This will be the biggest win for Neovim. When something like pycharm/webstorm vim support is moved to real vim rather than a reimplementation I will change.
- jD91mZM2 9y agoI used to think in similar paths too. Honestly, NeoVim's biggest wins are a nice website, cleaner code (I think) and XDG basedir support. (And to be fair, switching on Arch is really easy since it's in the official repositories)
- erikb 9y agoI tried NVim maybe 2 years ago. At this time it wasn't able to read my complete .vimrc. So that was a huge show stopper. Does that work now and can I be sure that nvim creates the same setup based on my rc file?
- xelxebar 9y agoNot sure about your setup, but my .vimrc is pretty non-trivial and nvim Just Works. I even have ~/.config/nvim just symlinked to ~/.vimrc.
- fredoliveira 9y agoHe literally asked several times for reasons to switch to nvim, but your answer basically amounts to "well because it's not hard". Telling him upgrading is not hard, or that it is compatible with vim gives him nothing. From the nvim GitHub page: Modern GUIs API access from any language including clojure, lisp, go, haskell, lua, javascript, perl, python, ruby, rust. Embedded, scriptable terminal emulator Asynchronous job control Shared data (shada) among multiple editor instances XDG base directories support Compatible with most Vim plugins, including Ruby and Python plugins.
- justinmk 9y agoYes. My perspective is: - It's ok if this person doesn't want to use Nvim. - The "Why should I switch to Nvim" question is based on a questionable premise. I think the question should be "Why should I should to Vim".
- nsomaru 9y agoone cool thing is the `:terminal` mode which allows you to move a lot of window management to nvim, and your terminal is now an nvim buffer (with all the exciting possibilities that affords :) Vim window management comes naturally if you spend sufficient time in vim. I'm using tmux less now (although my knowledge of it was limited at best), but its still useful for persistence and some window management.
- raimue 9y ago:terminal is now also part of the Vim 8 patches as an experimental feature. NeoVim seems to have a large influence on Vim, given that the previous "vimshell" patches never made it into upstream.
- bovine3dom 9y agoIs it any different to :terminal in Vim?
- suprfnk 9y agoDo you really want to do window management and terminal tasks in your text editor? I'd rather use my window manager for managing windows, or my terminal for doing terminal tasks.
- grimgrin 9y agoJust try to imagine someone wanting to have the editor fill the entire screen, and designate one small pane to a terminal. I can't imagine how to do that with something like tmux and vim (other than running multiple instances of vim which is bad for its own reasons). Take a cross split. https://i.imgur.com/Flqexnq.png https://i.imgur.com/Flqexnq.png I left neovim for vim, though, because of the known system clipboard pasting issue.
- mkl 9y ago> I left neovim for vim, though, because of the known system clipboard pasting issue. What clipboard issue is that? I couldn't find it online, and don't currently use neovim.
- markstos 9y agoSome of the more successful features that appeared first in NeoVim have also been adopted in Vim 8. One of the new features in this release is that NeoVim will use the tmux clipboard if running in Tmux, so you can use "+y to yank in one Vim instance and "+p to paste into another vim instance running elsewhere in tmux. https://github.com/neovim/neovim/pull/6894/files https://github.com/neovim/neovim/pull/6894/files
- goerz 9y agoI remember hearing that vim8 added some of the concurrency for plugins that neovim introduced. At the time, it sounded like this was done in a non-compatible way. I haven't really followed up with this, so I'm wondering if that's still the case (or ever was). Do concurrent neovim plugins work in vim8 without change?
- ramy_d 9y agowelp, i'm convinced!