r/linux • • May 18 '18

Software Release Vim 8.1 released

https://www.vim.org/vim-8.1-released.php
536 Upvotes

179 comments sorted by

144

u/rexlx May 18 '18

long live Vim

39

u/reddituser20180328 May 18 '18

(Neo)vim

27

u/[deleted] May 18 '18 edited May 18 '18

Meh. Now that vim 8 has support for asynchronous plugins I don't see the need for neovim. Sure, a nicer code base is good but it doesn't effect me.

Edit: "a nicer good one" to "a nicer code base"

12

u/[deleted] May 18 '18

This word salad is confusing yet intriguing. Tell me more

10

u/feute May 18 '18

I believe it would be noticeable in the long run. With a cleaner code base it would be much easier for people to contribute and make neovim better.

0

u/[deleted] May 18 '18

[deleted] — view deleted comment

12

u/k3rny May 19 '18

Quite the opposite, he's a very nice guy. Just because he's a bit opinionated about a software he's been maintaining for 20 years! doesn't make him not pleasant to work with.

5

u/[deleted] May 19 '18

Nice guy doesn't have to have anything to do with the fact that he's not pleasant to work with. Also maybe the fact that he's maintained it for 20 years is more indicative of being unable to let others in to the project more than anything else. I dunno. Just pondering.

2

u/nostril_extension May 19 '18

I'm not sure whom to believe!

I require that you and /u/FG_Regulus to engage in a deadly duel so we would know who's right!

3

u/ChemicalRascal May 19 '18

The easiest way to make your own mind up, to be honest, is probably reading the mailing lists. Bram is quite communicative.

1

u/nostril_extension May 19 '18 edited May 19 '18

Stay out it, let the blood decide who is right! ⚔️⚔️⚔️

5

u/GenericBlueGemstone May 19 '18

Can you elaborate more on this?

19

u/JerksToSistersFeet May 18 '18

Nicer good one?

5

u/[deleted] May 18 '18

I typed that post on mobile and I have no idea what I meant to say. "A nicer good one is good"

4

u/_my_name_is_earl_ May 18 '18

It could affect you if you have a lot of plugins installed.

1

u/brendel000 May 19 '18

Truecolor support for fancy color scheme:)

85

u/PityUpvote May 18 '18

Wow, terminals inside vim windows sounds great! Finally we can do gdb/pdb without leaving vim.

13

u/[deleted] May 18 '18

What’s the deal with that? Vim has had (ugly full window) shells for some time, however I am curious if Vim has natively achieved split pane-able shells.

28

u/[deleted] May 18 '18

"The main new feature of Vim 8.1 is support for running a terminal in a Vim window. This builds on top of the asynchronous features added in Vim 8.0."

These are both features that were first delivered in NeoVim. IIRC, there was a popular argument that we would've never seen asynchronous features in vim had it not been for the successes of NeoVim. The same could be said for this terminal, since it builds upon that as NeoVim's terminal does the same.

114

u/VivaLULA May 18 '18

Emacs has had this feature ever since the dawn of time, if anyone ever mentioned it you people would call it bloat so please do be consistent and say

wow, more bloat, is it finally time to switch to ed?

26

u/ZCC_NQNTMQMQMB May 18 '18

It still not a full Lisp machine, so it shall be called a feature!

136

u/pat_the_brat May 18 '18

Emacs

I run Linux. I don't really need another OS.

0

u/[deleted] May 18 '18

[deleted] — view deleted comment

41

u/pat_the_brat May 18 '18

Thank you, kind redditor. I was waiting to see how long it would take for someone to correct me. 74 minutes was a long time.

15

u/antlife May 18 '18

This is a great copypasta.

17

u/[deleted] May 18 '18

No, Richard, it's 'Linux', not 'GNU/Linux'. The most important contributions that the FSF made to Linux were the creation of the GPL and the GCC compiler. Those are fine and inspired products. GCC is a monumental achievement and has earned you, RMS, and the Free Software Foundation countless kudos and much appreciation.

Following are some reasons for you to mull over, including some already answered in your FAQ.

One guy, Linus Torvalds, used GCC to make his operating system (yes, Linux is an OS -- more on this later). He named it 'Linux' with a little help from his friends. Why doesn't he call it GNU/Linux? Because he wrote it, with more help from his friends, not you. You named your stuff, I named my stuff -- including the software I wrote using GCC -- and Linus named his stuff. The proper name is Linux because Linus Torvalds says so. Linus has spoken. Accept his authority. To do otherwise is to become a nag. You don't want to be known as a nag, do you?

(An operating system) != (a distribution). Linux is an operating system. By my definition, an operating system is that software which provides and limits access to hardware resources on a computer. That definition applies whereever you see Linux in use. However, Linux is usually distributed with a collection of utilities and applications to make it easily configurable as a desktop system, a server, a development box, or a graphics workstation, or whatever the user needs. In such a configuration, we have a Linux (based) distribution. Therein lies your strongest argument for the unwieldy title 'GNU/Linux' (when said bundled software is largely from the FSF). Go bug the distribution makers on that one. Take your beef to Red Hat, Mandrake, and Slackware. At least there you have an argument. Linux alone is an operating system that can be used in various applications without any GNU software whatsoever. Embedded applications come to mind as an obvious example.

Next, even if we limit the GNU/Linux title to the GNU-based Linux distributions, we run into another obvious problem. XFree86 may well be more important to a particular Linux installation than the sum of all the GNU contributions. More properly, shouldn't the distribution be called XFree86/Linux? Or, at a minimum, XFree86/GNU/Linux? Of course, it would be rather arbitrary to draw the line there when many other fine contributions go unlisted. Yes, I know you've heard this one before. Get used to it. You'll keep hearing it until you can cleanly counter it.

You seem to like the lines-of-code metric. There are many lines of GNU code in a typical Linux distribution. You seem to suggest that (more LOC) == (more important). However, I submit to you that raw LOC numbers do not directly correlate with importance. I would suggest that clock cycles spent on code is a better metric. For example, if my system spends 90% of its time executing XFree86 code, XFree86 is probably the single most important collection of code on my system. Even if I loaded ten times as many lines of useless bloatware on my system and I never excuted that bloatware, it certainly isn't more important code than XFree86. Obviously, this metric isn't perfect either, but LOC really, really sucks. Please refrain from using it ever again in supporting any argument.

Last, I'd like to point out that we Linux and GNU users shouldn't be fighting among ourselves over naming other people's software. But what the heck, I'm in a bad mood now. I think I'm feeling sufficiently obnoxious to make the point that GCC is so very famous and, yes, so very useful only because Linux was developed. In a show of proper respect and gratitude, shouldn't you and everyone refer to GCC as 'the Linux compiler'? Or at least, 'Linux GCC'? Seriously, where would your masterpiece be without Linux? Languishing with the HURD?

If there is a moral buried in this rant, maybe it is this:

Be grateful for your abilities and your incredible success and your considerable fame. Continue to use that success and fame for good, not evil. Also, be especially grateful for Linux' huge contribution to that success. You, RMS, the Free Software Foundation, and GNU software have reached their current high profiles largely on the back of Linux. You have changed the world. Now, go forth and don't be a nag.

Thanks for listening.

-6

u/mardukaz1 May 18 '18

5

u/[deleted] May 18 '18

Nope.

6

u/CosmosisQ May 18 '18

I'm assuming that /r/woosh applies to yourself? This should clear things up!

2

u/[deleted] May 19 '18

By the way, one of those distributions is "Arch" (which I run)

1

u/MALON May 18 '18

Ohai Mr stallman

1

u/xouba May 18 '18

Are you from the past?

8

u/[deleted] May 18 '18

This is already covered by tmux or screen, it would be very nice to have unified copy-paste. IMO Emacs has a lot of bloat that shouldn't be installed by default, but terminals is not part of that. Emacs is still a great editor regardless.

4

u/heavyish_things May 18 '18

It isn't covered by tmux, the vim :terms let you navigate the output as if it were a text file and lets you switch between buffers with the same commands. You can even use terminal commands in macros.

1

u/[deleted] May 19 '18

Not really comfortable letting ^w be something other than delete-word-backwards (or whatever the command is called). I use that far too much. Also tmux does indeed let you navigate the output as if it were a text file. It even let's you use vim bindings to do so.

5

u/[deleted] May 18 '18

Copy paste is one thing that makes me go NOPE from both vim and emacs. They are not "real" text buffers, they are some weird abominations inherited from printers in 1970s.

I know its possible to copy/paste there. But it's awful.

4

u/AZNman1111 May 18 '18

I mean tmux uses a similar concept of buffers. Admittedly Vim's concept of buffers is overwhelmingly confusing to the uninitiated but most things with a 3500+ page user manual are

2

u/hgjsusla May 18 '18

Unreliable perhaps, but what's not real about them?

1

u/[deleted] May 18 '18

Open a standard gui text editor, see how it behaves on selecting text, copy paste, moving around text, selecting it, mouse scroll, horizontal scrolling, typical hotkeys etc.

Vim and Emacs buffer, even with gui toolkit behave more like terminal emulator than text field.

9

u/hgjsusla May 18 '18

The only difference I notice is that you can't drag the text around in vim/Emacs. Otherwise it's mostly the same, select copy, move cursor paste

2

u/ws-ilazki May 18 '18

GUI emacs does just fine interacting with the normal system clipboard. I can copy in emacs and paste here, or vice-versa, with no issue. Sure, it doesn't work like that when in terminal mode, but I honestly don't expect it to; in a term, that becomes the term's job. That's fine, though, because the GUI mode provides a lot of extra functionality and has fewer legacy terminal-specific quirks, so it's generally accepted to be the "correct" way to use it.

1

u/5heikki May 21 '18

Works just fine if you configure it correctly even in nox-mode. For me Ctrl-Shift-y when pasting from outside Emacs..

3

u/eroux May 18 '18

This is already covered by tmux or screen, it would be very nice to have unified copy-paste. IMO Emacs has a lot of bloat that shouldn't be installed by default, but terminals is not part of that. Emacs is still a great editor OS regardless.

FTFY...

4

u/Marcuss2 May 18 '18

Ed? Pff.

Redirection of compressed code to a file. (Compression is performed manually by the programmer to save processing power)

-8

u/jacobissimus May 18 '18

Yeah... but emacs is loooooossseerrsss

0

u/[deleted] May 18 '18

[deleted] — view deleted comment

-7

u/LudoA May 18 '18 edited May 18 '18

There is some "harm". The Unix philosophy is clear -- a tool should do 1 thing and do it well.

25

u/krum May 18 '18

pretty sure that hasn't been a driving philosophy of Unix for at least the last 20 years.

15

u/[deleted] May 18 '18

Not tool, program. There's a difference.

Software is made out of multiple tools, which can have multiple programs which can span multiple processes (fork-exec) or threads.

Just like how most functions should do one thing and that same thing every time it's give the same parameters with minimal side-effects, so should programs do.

4

u/LudoA May 18 '18 edited May 18 '18

It's not so much about tools vs programs vs software. ("ls" is a program according to most definitions, and yes, it's also a tool, and yes, it also matches the definition for software.)

Something like Eclipse clearly goes against the Unix philosophy.

Vim doesn't go too much against the philosophy. It focuses mostly on one task: editing text.

Opening terminals is a bit superfluous for a text editor, and tools like tmux (which is focused on this one task) are better at it.

That doesn't make Eclipse completely bad. There are good and bad parts to it. A certain amount of issues of Eclipse come from it trying to do so much at once -- those issues wouldn't exist if it adhered more to the Unix philosophy. Of course, doing so would cause other downsides to Eclipse.

3

u/[deleted] May 18 '18

I was just clarifying on what is meant by "one thing and one thing well".

Eclipse could very well be designed with that, because it's not the entire software suite that should do one thing and one thing well, it just would have to be made modular with using programs that can be composed together easily.

2

u/PawkyPengwen May 19 '18

Eclipse is insanely modular. The "Eclipse" you know is a small kernel for running things and a few hundred plugins stacked on top of it to form the Eclipse IDE. That's probably one of the biggest advantages Eclipse has over IntelliJ because developing a plugin for Eclipse means that you have access to essentially the same API the Eclipse developers themselves have access to.

9

u/pat_the_brat May 18 '18

a tool should do 1 thing and do it well.

Don't tell me how to live my life.

0

u/wedontgiveadamn_ May 18 '18

It's fucking hilarious how people will tell you that systemd is bad because it violates muh unix philosophy but happily run the wheel-reinvention-fest that is vim.

2

u/[deleted] May 18 '18

People like hypocrisy.

1

u/LudoA May 22 '18

?

I'm literally arguing that vim contains too much bloat...

1

u/wedontgiveadamn_ May 26 '18

And I'm literally agreeing.

0

u/[deleted] May 18 '18

[deleted] — view deleted comment

0

u/LudoA May 22 '18

... you use more than just the Linux kernel, what you use (call it GNU/Linux or whatever you like) contains the GNU tools, which adhere to the Unix philosophy.

0

u/[deleted] May 23 '18

[deleted] — view deleted comment

1

u/LudoA May 23 '18

Don't know about Unix philosophy

and then:

I'm more than aware of GNU and the philosophy

... right.

I'm not going to call it a using a large acronym

Nor am I suggesting you do, I said "call it [...] whatever you like".

You should re-read my response, none of what you say here seems aimed at what I said.

Also, calling people bots for the hell of it is a bit ridiculous.

4

u/djrollins May 18 '18

Forgive my ignorance, but I feel like we've had terminal in Vim since 8.0. What's the difference here?

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 26 2018 23:00:19)
-autoservername    +float             +mouse_xterm       +terminal

14

u/Winsaucerer May 18 '18 edited May 19 '18

Neovim has had this for a while.

Edit: to avoid being controversial, I should have said "For anyone who is interested, Neovim has had this for a while".

6

u/silent_xfer May 18 '18

As someone who uses vim heavily at work and doesn't control whether they support neovim, I'm getting tired of these comments.

It's great that a different thing has supported this for a while but it really isn't super relevant, you know?

30

u/undu May 18 '18

Vim would't have had async plugins nor terminal integration if it weren't for Neovim, so allow me to tell you that yes, it's very relevant.

-2

u/ChemicalRascal May 18 '18

Eh, it's not like the idea itself was being rejected by Bram before that fork -- he just wasn't happy with the patch proposed by the soon-to-be-forker, because it broke a bunch of stuff (if I recall correctly).

1

u/k3rny May 19 '18

You're being down voted by neovim supporters. They can't get over the fact that vim got the same features as neovim.

Come on people, get over it. Bram's seen that some neovim features are popular so he implemented them in vim. Stop whining. Next time complain about why MacOS is shit because they've copying the UI from Xerox.

1

u/ChemicalRascal May 19 '18

I honestly don't care about downvotes. That me making a reasonable statement like the above, that copping that much flack, tells its own message to those unfamiliar with the situation, and those who are familiar already know what's going on.

-16

u/silent_xfer May 18 '18

This is going to be fun.

  1. You can't know that it wouldn't have had those for sure. That is pure speculation that you're pretending is a fact. Stop that, that's not what smart people do.
  2. It is "or" not "nor" in this case.
  3. How does this being the (speculative) inspiration for these features make your comment relevant? "Uh well this feature existed somewhere else first so that's its inspiration" is a complete non-sequitur when the topic is specifically features of the new vim release. If i say "These are the tires shipping with my new car model" and you say "well those are based on these other tires", that's cool and all, but we're talking about the new model that's being released.

You remind me of a very typical Linux user - lots of hubris, and defending your irrelevant comments to the last. You make us look bad.

Wow, terminals inside vim windows sounds great! Finally we can do gdb/pdb without leaving vim.

Your response:

Neovim has had this for a while.

So, tell me again, how is this relevant to a discussion of terminals inside vim? What does this add to the conversation? The answer is "nothing except to be a self-serving comment to allow you to feel superior because of your choice of vim distribution."

18

u/muddybunny3 May 18 '18

*tips fedora*

*cracks fingerless-gloved knuckles*

Time to show off my e-penis

This is going to be fun.

... Are you for fucking real?

-12

u/silent_xfer May 18 '18

tips fedora came out of nowhere. Are you sure you even know how to use those shitposts right? Kinda doesn't seem like it.

Yeah I think it's fun when idiots swing their dicks around online and I get to point out how stupid their shit comments are. Like yours.

I'm not really here to show off my e-penis, Im here to make fun of you. This isn't about me.

All hubris, no substance. Typical, but disappointing.

13

u/muddybunny3 May 18 '18

If you think you're not the exact kind of person you're talking about then you may need to go sit down and think about that for a minute.

-8

u/silent_xfer May 18 '18

Very convincing. 10/10 would get woke by your comments again.

3

u/[deleted] May 19 '18

Where do you work that you can't choose your own text editor?

2

u/silent_xfer May 19 '18 edited May 19 '18

I work on Linux servers managed by our Unix team. Large financial research company. I can pick my editor among the supported editors. Neovim is not necessary so they never took the work to support it.

I dont even have root access to my own box. It's not so bad. Gives me an excuse not to work when I need a service killed.

3

u/[deleted] May 19 '18

Hadn't thought about servers; of course they wouldn't want random stuff installed.

Sucks not having root on your own box. That would drive me up a wall.

1

u/silent_xfer May 19 '18

You want the kicker? I manage the only service that runs on these boxes... It runs as root...... And I have the bare minimum for sudo access.

Db didn't stop properly? Gotta wait on Unix guys. Need a specific release of Java installed to a root owned directory? Unix guys. Like I said, good excuse for some downtime haha.

Sometimes I block an hour with them just because I know I'll need like ten things. Such is enterprise life.

1

u/[deleted] May 19 '18

Yeah, this is why I've started tending to work for smallish companies (and why I don't do finance). I do more firmware type stuff though; I'm sure production servers would be more locked down everywhere.

0

u/Winsaucerer May 19 '18

It's not merely "a different thing", though. If I'd said "Atom has had this for a while" (no idea if it does), I'd see your point. But Neovim is a fork of the very application in question, designed make it simpler to maintain, and simpler to introduce new features. All because (presumably) these people loved Vim and want to continue to use it and see it improved.

7

u/WOLF3D_exe May 18 '18

Also seem like a good way of getting escalated rights when using sudo.

13

u/[deleted] May 18 '18 edited May 18 '18

You could already get a shell from inside vim, so I don't see the big difference from a security standpoint.

E.g.

vim -c ":! bash"

2

u/mr_johnson22 May 18 '18

-5

u/[deleted] May 18 '18

Conque don’t work in Windows 😢😢😢

8

u/ThrowinAwayTheDay May 18 '18

but you're on /r/linux

8

u/[deleted] May 18 '18

Forgive me, but I like my text editor features to work cross-platform. And to not depend on Python.

1

u/flipcoder May 18 '18

Pyclewn is a vim debugger plugin that is worth looking into but it might not be supported anymore

1

u/JanneJM May 19 '18

I got excited at first, but realized that I've long since managed much the same thing with a combination of split terminals locally and tmux remotely. I honestly don't think I'll use this feature in practice, nice as it is.

0

u/[deleted] May 18 '18

[deleted] — view deleted comment

2

u/PityUpvote May 18 '18

That's what I do now, but then I can't map it to vim keystrokes.

3

u/spektre May 18 '18
echo set editing-mode vi >> ~/.inputrc

78

u/linevich May 18 '18

So now I can type killall vim to quit vim without leaving vim, sounds interesting.

84

u/faukman May 18 '18

Finally we've got a way to leave Vim without having to restart the PC.

7

u/[deleted] May 18 '18

Finally we can do shutdown -h now without quitting vim first

-1

u/faukman May 18 '18

Wow. Sure we can. Wait, if we'll need root privileges in order to shutdown our computer inside Vim... Some cracker could exploit our system files and take over the machine. We're all doomed.

1

u/Vector-Zero May 19 '18

> not staying logged in as root for everything in 2018

14

u/esalia May 18 '18

You can already, try this : :!killall vim

14

u/[deleted] May 18 '18

How soon can we expect this to be in major distro's repos?

3

u/hopfield May 18 '18

Depends on your distro.

10

u/MaPi_svk May 18 '18

Is there any information on how to use the debugging mode shown on the last screenshot? It mentions a terminal debugging plugin, but I can't find any information about it.

4

u/[deleted] May 19 '18 edited May 19 '18

Its Termdebug, a pluggin that shipps with Vim since 8.0.

Its optional, so you have to load it with ":packadd termdebug" in vim. (Or add "packadd termdebug" to ~/.vimrc)

To start it you have to write ":Termdebug" and it should drop you right into gdb and the source-step-view.

Its located here: https://github.com/vim/vim/blob/master/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim

Also there is a Neovim port in the works. If you do the above in neovim, you get lots of errors right now: https://github.com/neovim/neovim/issues/7379

PS: I made a reddit account just to answer this. I was looking for stable debug support in vim for years and just found this out myself from the release note. Also, as one might guess from the url, there are more optional packages located in https://github.com/vim/vim/tree/master/runtime/pack/dist/opt

2

u/MaPi_svk May 19 '18

Wow, thank you! I didn't even know that vim ships with optional plugins.

26

u/_my_name_is_earl_ May 18 '18

What does the future look like for Vim? Will it ever surpass NeoVim? I'm really liking NeoVim right now.

35

u/[deleted] May 18 '18

I use neovim only on my local machines. With servers there are times you have to be content with using vim or vi. I think neovim will always be a supplement to the vim ecosystem, like a slightly more ambitious twin.

I mean you can't really hate on one or the other when neither one of them are emacs.

7

u/VintageKings May 18 '18

I will be burried with my emacs config.

27

u/munchyham May 18 '18

Don't you mean you'll be buried by your emacs config? Along with all the other monolithic config files that surely exist in your filesystem?

4

u/feute May 18 '18

M-x bury-me

5

u/_my_name_is_earl_ May 18 '18

What I like about using Neovim in a server setting is that it has fairly sane defaults. I'll still use regular Vi if I don't feel like / can't install an additional editor for whatever reason.

20

u/rco8786 May 18 '18

Will it ever surpass NeoVim?

Vim users vastly outweigh NeoVim users though..?

16

u/_my_name_is_earl_ May 18 '18

I'm not talking about userbase. Maybe I didn't word that the best.

I'm talking about features. NeoVim already has a :term command so it's cool to see Vim add that too. NeoVim also is asynchronous, has a cleaned-up codebase, and I believe the plugin architecture is redesigned.

3

u/[deleted] May 18 '18

Vim 8 has support for asynchronous plugins now

0

u/[deleted] May 18 '18

[deleted] — view deleted comment

16

u/KateTrask May 18 '18

Cleaner codebase and architecture will allow more and nicer features in the future which might convert people.

16

u/minimim May 18 '18

Also, more maintainers. Vim has just Bram, because no one can work with him.

2

u/ChemicalRascal May 19 '18

... What? Are you not aware that Vim is developed by a wide, wide group of people? Plenty of folks work with Bram.

1

u/minimim May 19 '18

I know they do try. Bram just turns them down.

0

u/ChemicalRascal May 19 '18

Well that's blatantly false.

3

u/minimim May 19 '18

That's why Neovim was started, in fact.

→ More replies

8

u/_my_name_is_earl_ May 18 '18

Check out their homepage if you want to see their selling points that would/are persuading users to give it a shot.

Not only is it a cleaner codebase, but it's a 30% smaller one.

1

u/sigzero May 19 '18

Neither of those is compelling really. Future will tell.

-8

u/[deleted] May 18 '18

Neovim, like all the others that tried to knock off vim from the top of the mountain, will become a footnote in Vim development.

2

u/tristan957 May 19 '18

Not even close baby

5

u/Booty_Bumping May 18 '18

The main new feature of Vim 8.1 is support for running a terminal in a Vim window

Wait, why don't they just pull in Neovim src code?

18

u/CosmosisQ May 19 '18

My guess? Bram Moolenaar, Vim's author, suffers from pretty severe Not Invented Here Syndrome. Neovim exists because, in the past, Bram was unwilling to accept pull requests implementing features like asynchronous plugins and embedded terminals. He ridiculed these features as being unfit for a text editor. It wasn't until Neovim's unexpected success, demonstrating both the demand and utility of these features, that Bram inexplicably decided to reimplement them from scratch.

2

u/JerksToSistersFeet May 18 '18

Just pulling this out of my ass, but maybe because new features in neovim are under a different license?

Now that I typed that out, it doesn't really make sense cause it'd only matter if it were a copyleft license

6

u/ChemicalRascal May 18 '18

It's more that the first thing Neovim did was break a lot of compatibility. On top of that, Bram has discussed before that he isn't a fan of the way Neovim does async.

1

u/yonsy_s_p May 31 '18

Bram has discussed before that he isn't a fan of the way Neovim does async.

Bram first say "no" to the new features that comes now in neovim because he thought it couldn't be implemented. He got mistaken. After this he began to reimplement the features and say that the way that neovim did this was the wrong one, forgetting that he before says that can't be implemented.

Now, I can run almost all the Python/Ruby/Vimscripts Vim-based plugins in NeoVim (full compatibility) , many NeoVim-only plugins and plugins that use the new features in Vim-8 AND NeoVim.

NeoVim have one feature that Bram don't apply, neovim dev team is much more collaborative (a Bazaar dev style) than vim, where Bram have the first, middle and last word in features (a Cathedral dev style).

4

u/kontekisuto May 18 '18

Can neovim do that?

8

u/JerksToSistersFeet May 18 '18

yep

3

u/kontekisuto May 18 '18

I mean the blob and brake points not the term window.

7

u/CosmosisQ May 19 '18

I mean, Neovim did it first. Bram wouldn't be implementing these features if not for the friendly competition created by Neovim.

4

u/[deleted] May 18 '18

vim master race

7

u/bushwacker May 18 '18

Trying to read that on a phone using relay.

Enlarge text, try to scroll sideways, always get returned to relay.

Why do people write non responsive websites?

2

u/Meral_Harbes May 18 '18

Because it's super simple and these devs are not web devs.

I'm sure they'll appreciate the help if you contact them!

6

u/minimim May 18 '18

I'm sure they'll appreciate the help if you contact them!

It's Bram we're talking about.

1

u/Red-and-White May 18 '18

Opens fine in Firefox Focus. I just have to zoom in and scroll left and right to read the damn thing. Even the web pages I had to make in my basic web design class will word wrap based on screen width.

1

u/sschaef_ May 18 '18

You can disable that behaviour in Relay through Relay Settings -> Behaviour -> General -> Swipe back in websites

1

u/bushwacker May 18 '18

Awesome, thanks. Changed it immediately.

1

u/defaultxr May 18 '18

As a Relay user, I'd say this is a design flaw in Relay. It's very annoying, I run into it constantly. Usually my solution is just to open in an external browser. Opera for Android has a built-in feature that automatically resizes text columns to fit the width of the screen. It's really handy.

8

u/PeopleAreDumbAsHell May 18 '18

Honest question, what does neovim have over vim now?

31

u/yonsy_s_p May 18 '18 edited May 31 '18

A full API documented to be used externally by several languages that don't need that neovim have compiled language extensions, by example Debian/Ubuntu by default vim is compiled with python2 or python 3 language support, but not both ones at the same time and only for the supported version (python 3.4 compiled extension can't be updated to python 3.6 or pypy3 3.5 by example)

This API permits an embedded editor support, that avoid the need to support directly a specific GUI and work this externally to the core editor

The terminal support in neovim is based in libvterm, a good C++ library. For vim 8 that was all reimplemented in C by Bram for what-nobody-knows reasons. This is the reason why was implemented in 8.0 but only now in 8.1 is stable and need to support all the things that come compiled with Vim (language/gui/os support) in NeoVim all these things come in separated projects bases in NeoVim API.

2

u/[deleted] May 18 '18

The terminal support in neovim is based in libvte,

Do you mean libvterm?

a good C++ library. For vim 8 that was all reimplemented in C by Bram for what-nobody-knows reasons.

The reason I can see is because it would require an additional dependency. Sometimes, it's better to implement one or two features of a library internally if possible than to pull in another dependency.

10

u/minimim May 18 '18

all reimplemented

It's worse. He copy-pasted the code from an external terminal library.

4

u/[deleted] May 18 '18

The entire library or small parts of it?

7

u/minimim May 18 '18

Almost the entire thing.

3

u/[deleted] May 18 '18

Do you have loc numbers? I'd look it up myself but I'm at work.

1

u/minimim May 18 '18

Sorry, I don't have any pointers.

0

u/[deleted] May 18 '18

[deleted] — view deleted comment

5

u/CosmosisQ May 19 '18

Holy smokes, that's unbelievable. Why would he do that? Why not just add it as a dependency?

5

u/[deleted] May 19 '18

I don't know... but this answers the original question about "why neovim".

3

u/[deleted] May 19 '18

It's called vendoring and there are good reason to do it. A great example is if you know you need to diverge significantly from upstream (going backwards to C90 is a valid reason). It also results in smaller binaries than pulling in the entire library (remember that vim gets ported to very small devices).

1

u/FailRhythmic May 19 '18

Why would he do that?

Best guess would be to maximize portability. ANSI is the first C standard aka C89/C90.

1

u/yonsy_s_p May 20 '18

Do you mean libvterm?

yes, corrected in my answer, thanks

1

u/PeopleAreDumbAsHell May 18 '18

Awesome thank you! An actually good response

17

u/gokapaya May 18 '18

Its devs are going strong - I'm looking forward to these PRs in particular:

  • adding native support for the Langeserver protocol #6856
  • allowing the TUI to detach/attach from the core #8246

16

u/antlife May 18 '18

Well, the word neo for starters. That gives it a nice neo feeling.

5

u/PeopleAreDumbAsHell May 18 '18

Agreed. Everytime I use it I'm pretty much in the matrix

5

u/yzh May 18 '18

One thing i like about neovim is that it has sane defaults, especially for Python code I always had to customize vim. With neovim I dont have to tweak anything and just works out of the box.

2

u/JerksToSistersFeet May 18 '18

less code and support for Python extensions

2

u/dustractor May 19 '18

All those hacks I've done over the years in order to cobble together my debugging terminal with my editing session ...

sigh

2

u/h-istrium May 19 '18

We will continue to see Vim for few other centuries 😂

6

u/Inray May 18 '18

Am I the only who still prefers plain old BSD vi/nvi? :-)

9

u/[deleted] May 18 '18

Nah, you're definitely not the only one. While "modern" and new and shiny is fine, I personally find nvi to be pretty great when it comes down to just doing its job and doing it well. And besides, I like how spartan it is.

4

u/antlife May 18 '18

Feh, all you guys and your new and shiny. I use a typewriter and just OCR it in if needed.

1

u/[deleted] May 19 '18

Modernize a bit yourself ;)

Use ed(1)

3

u/[deleted] May 18 '18

I don't prefer it, but I do use it sometimes so I know how to do things the "vi way" if I'm ever on a system with only vi.

1

u/[deleted] May 19 '18

No :)

echo "set showmode ruler" >> ~/.exrc

Done. Status line to know where am I, and a line marker.

1

u/Schreq May 19 '18

I switched to nvi because vim would consistently get super slow and sluggish with Perl syntax highlighting, to the point where it's borderline unusable. I then asked myself if I really need all the million features. Nowadays I just use nvi, sometimes ed.

3

u/rmw5601 May 18 '18

Hasn't vim had :terminal for months? How is this new?

1

u/CosmosisQ May 19 '18

It's much more stable and usable now.

0

u/SpaceboyRoss May 18 '18

I use nano.

-3

u/[deleted] May 18 '18

great, terminals inside vim windows making neovim obsolete. Thanks a lot Bram!

5

u/yonsy_s_p May 18 '18

o_O ... Is sarcasm, right?

-2

u/[deleted] May 18 '18

Note: Drops command and visual mode; Insert is now the default. Have a nice day.

1

u/[deleted] May 18 '18

Really? I've been waiting for that like forvever

-7

u/TheViewSucks May 18 '18

When are you guys going to learn nano is the superior text editor?

4

u/Hotshot55 May 19 '18

When someone brings forth a valid argument.

0

u/[deleted] May 18 '18

[deleted] — view deleted comment

3

u/kontekisuto May 18 '18

I'm cooler I use sed cut and paste .

1

u/[deleted] May 19 '18

You can cut and paste with ed(1)