News for hackers. Stuff that matters.
Re:Newsletter #7 - Summer of Road by virtualwhys on Tuesday December 06, 2016 @03:22PM (#13117958)
For better or worse they awoke the sleeping giant[1]. Curious to see how things play out with the fork (i.e. will vim users stay put or move on to neovim in the coming months/years).

[1] https://github.com/vim/vim/graphs/contributors

Re:Newsletter #7 - Summer of Road by JoshTriplett on Tuesday December 06, 2016 @03:30PM (#13118026)
It's unfortunate that vim introduced similar features for managing running processes, but in a completely incompatible way, such that one vim module can't easily support both.
Re:Newsletter #7 - Summer of Road by rrradical on Tuesday December 06, 2016 @03:34PM (#13118058)
I'm not sure how it could be 'for worse'? Even Neovim benefits from the uptick in Vim patches, because they actually merge many of them into Neovim. So it seems like it can only be a good thing. Better editors for everyone.
Re:Newsletter #7 - Summer of Road by nilved on Tuesday December 06, 2016 @04:23PM (#13118458)
That's one way it could play out, but that's not the way it did play out. Vim ate Neovim's lunch because they took so long to create a release that Vim was able to copy their best features. Worse yet, they did this in a way that is not compatible with Neovim. There is a chasm between Vim and Neovim that is growing, and the incentive to cross it is shrinking.

As someone who has watched closely Neovim's development since its announcement, and used it as my daily text editor for literal years, I feel sad to say that it is early-stage vapourware. They kicked vim into action, then vim kicked them out of it.

Re:Newsletter #7 - Summer of Road by rrradical on Tuesday December 06, 2016 @04:56PM (#13118679)
Hm, ok, that's interesting. I guess I stopped following Vim's progress once I switched to Neovim. It still seems to me that Neovim has the right overall approach (through cleanup, shedding ancient compatibility layers), but if that doesn't yield an increase in velocity in the short term then I guess it wouldn't be a big advantage.
Re:Newsletter #7 - Summer of Road by akkartik on Wednesday December 07, 2016 @12:39AM (#13120700)
Vaporware?! That's atrociously uncharitable. Care to defend that characterization? Did you call Gmail vaporware until they took the 'Beta' label out?
Re:Newsletter #7 - Summer of Road by tommyallen on Tuesday December 06, 2016 @04:52PM (#13118657)
Vim didn't eat Neovim's lunch. It made its own lunch. Vim8's async feature is a copy only in name. Comparing both async APIs, I'm almost certain that Vim8's was added spitefully. It's just so obtuse compared to Neovim's.
Re:Newsletter #7 - Summer of Road by nilved on Tuesday December 06, 2016 @06:45PM (#13119274)
Well, that one is the one people are using. Now that the question among plugin developers is "Vim or Neovim?" which one do you think they will choose? It's totally possible that Neovim will need to adopt Vim's inferior API for compatibility reasons, like they're doing with the VimL<->Lua compatibility layer.
Re:Newsletter #7 - Summer of Road by tommyallen on Wednesday December 07, 2016 @12:11AM (#13120605)
The same question can be asked about Vim 7.4 and Vim 8.0. Which should a plugin developer choose to support? I'm a plugin developer and choose to support any version that has the right features for what I'm accomplishing. For most things, there isn't anything special that needs to be done.
Re:Newsletter #7 - Summer of Road by xwvvvvwx on Tuesday December 06, 2016 @03:14PM (#13117884)
Slow, incremental, consistent, disciplined hard work leads to amazing results.

Congratulations and huge thanks to the maintainers, I use neovim every day and love it.

Re:Newsletter #7 - Summer of Road by chairmanwow on Tuesday December 06, 2016 @03:25PM (#13117980)
I read that article and didn't get a good handle on any features that would motivate a transition from Vim. Any links you could provide?
Re:Newsletter #7 - Summer of Road by brotherjerky on Tuesday December 06, 2016 @03:35PM (#13118073)
For me, I like:

- Neomake ( https://github.com/neomake/neomake ) which I use for async linting. I know this is now working in Vim 8, but I've been using Neovim for a while and this was exclusive for a while.

- Vim-test ( https://github.com/janko-m/vim-test ) uses `:term` for running your tests from within vim -- this is most useful because I have a shortcut to test from current editing file, etc. I know this is also possible in vim now.

- Mapping Meta keys in terminal -- opens up a bunch more shortcuts that weren't available before

- `inccommand` This I believe is only in neovim, and likely not enough for anyone to switch for

Cons: - Not in distros, gotta install manually via their PPA

Re:Newsletter #7 - Summer of Road by blueyed on Tuesday December 06, 2016 @09:48PM (#13120088)
Thanks for the link to Neomake - Neovim is still a first class citizen for it, and it was a pain to get it working on Vim (and several bugs for Vim have been filed, debugged and fixed in this process).
Re:Newsletter #7 - Summer of Road by brotherjerky on Wednesday December 07, 2016 @10:53AM (#13123423)
Thanks for making Neomake!
Re:Newsletter #7 - Summer of Road by blueyed on Tuesday December 06, 2016 @09:49PM (#13120091)
Regarding distros: Arch has it.. ;)
Re:Newsletter #7 - Summer of Road by JoshTriplett on Tuesday December 06, 2016 @03:30PM (#13118031)
:term to run a terminal in a vim window.

Also, much more sensible defaults.

Re:Newsletter #7 - Summer of Road by nilved on Tuesday December 06, 2016 @04:25PM (#13118471)
An embedded terminal emulator is exactly what Neovim should not have.
Re:Newsletter #7 - Summer of Road by blueyed on Tuesday December 06, 2016 @09:50PM (#13120093)
Care to elaborate?
Re:Newsletter #7 - Summer of Road by nilved on Wednesday December 07, 2016 @09:05AM (#13122556)
Neovim's goal is remove cruft and shrink the codebase. Adding a terminal emulator, a completely orthogonal feature that makes no sense in a text editor to begin with, is contrary to this goal. They wasted time and worked on the wrong thing.
Re:Newsletter #7 - Summer of Road by tommyallen on Wednesday December 07, 2016 @10:23AM (#13123148)
Vim already allows you to use :shell. Neovim took it a step further with the added benefit that you can treat the output as buffer text. Just because you can't see the advantages this gives developers doesn't mean it was a waste of time.
Re:Newsletter #7 - Summer of Road by nilved on Friday December 09, 2016 @02:34PM (#13141153)
:shell is completely different. That's vim stepping out of the way while you run a subprocess. Moreover, vim having it is not an argument for Neovim to have it. If vim really had a terminal emulator Neovim should have removed it.
Re:Newsletter #7 - Summer of Road by ape4 on Tuesday December 06, 2016 @03:49PM (#13118200)
Cool, but why?
Re:Newsletter #7 - Summer of Road by JoshTriplett on Tuesday December 06, 2016 @04:07PM (#13118341)
Avoiding multiple levels of window management, when you want to edit multiple files and have one or more additional terminals available.

For instance, I've used this to edit a manpage with a live preview to the side in another window. Doing the same thing with screen would require running vim inside screen, and doing window management with both screen (for terminals) and vim (for everything else).

Re:Newsletter #7 - Summer of Road by linsomniac on Tuesday December 06, 2016 @04:40PM (#13118572)
I like being able to have a vim window that has a terminal in it, there are some cases where I just prefer to have it in my terminal environment rather than switching to another real window. Mostly this is for things where I want to be in the same directory as my editor to run greps through my source, etc...

It's also nice sometimes to do something and then be able to search through the history with "/". At times I've then gone back and cut and pasted between the terminal output and a document I was working on, rather than using my window manager cut and paste.

I was, however, fairly surprised that I could no longer ":sh" out to run something. Had to get used to ":term" or ":spl term://bash".

Re:Newsletter #7 - Summer of Road by espadrine on Tuesday December 06, 2016 @06:38PM (#13119247)
> I was, however, fairly surprised that I could no longer ":sh" out to run something

Honestly, :sh always felt weird in vim.

Either you are in a terminal, and Ctrl-Z is a much better experience, since you maintain your existing session.

Or you are in the GUI, and the terminal emulation is poor and slow.

Re:Newsletter #7 - Summer of Road by tommyallen on Tuesday December 06, 2016 @05:16PM (#13118786)
Speaking practically, if you're using a terminal to use Neovim, you get consistent window management. If you're using one of Neovim's GUI clients, you also get a terminal in the GUI's frame.
Re:Newsletter #7 - Summer of Road by baq on Tuesday December 06, 2016 @03:55PM (#13118251)
no more confusing C-w and C-b in tmux, perhaps?
Re:Newsletter #7 - Summer of Road by erikb on Tuesday December 06, 2016 @03:31PM (#13118037)
Same here. Scrolled through it and the only thing I got is that there is a command called ":smile" which is not worth switching to me.

Doesn't mean there is none, it's just hard to find.

Re:Newsletter #7 - Summer of Road by doppioandante on Tuesday December 06, 2016 @03:48PM (#13118190)
:smile is a vim command that was introduced in the new version of vim, I'm not sure but it seems like they are making fun of it. There's always been a bit of hostility between the neovim people and Braam, last being the fact that Braam finally implemented jobs in Vim 8, but using a different API than neovim.
Re:Newsletter #7 - Summer of Road by chappi42 on Tuesday December 06, 2016 @03:45PM (#13118169)
It's a joy to read such a polite newsletter. Friendly towards to original source. Friendly and open as a community. Everythings seems well organized and distributed. Well done!

Also thanks a lot for the tool, I use neovim almost daily.

Re:Newsletter #7 - Summer of Road by brotherjerky on Tuesday December 06, 2016 @03:32PM (#13118039)
As a daily neovim user, love the progress! Here's to a great 2017!
Re:Newsletter #7 - Summer of Road by michaelmior on Tuesday December 06, 2016 @04:49PM (#13118641)
Fantastic work by the Neovim folks as usual. However, this sentence stuck out to me

> The API should only grow, not break

This seems to ensure eventual bloat.

Re:Newsletter #7 - Summer of Road by ape4 on Tuesday December 06, 2016 @03:48PM (#13118195)
Is neovim packaged for distros?
Re:Newsletter #7 - Summer of Road by blueyed on Tuesday December 06, 2016 @09:51PM (#13120104)
Re:Newsletter #7 - Summer of Road by tux3 on Tuesday December 06, 2016 @04:00PM (#13118294)
I've been using Debian's neovim package for the last several months, but I use the unstable repositories. I think it'll be officially packaged in the next Debian release though.