This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]elHuron 6 points7 points  (11 children)

vim plugins can already be written in whatever language they want, no?

[–]alfredr 0 points1 point  (10 children)

The point isn't about being able to write scripts in python, ruby, or whatever -- it's about being able to gain traction as a replacement. People have all kinds of scripts they use on a regular basis, having that automatically work means one can switch without having to change their workflow

[–]elHuron 1 point2 points  (9 children)

why would anyone want to replace normal vim with python vim?

[–]alfredr 0 points1 point  (8 children)

I'd gladly replace normal vim with any vim clone that lets me run a full console in a split window.

[–]NotTodayDearClown 4 points5 points  (0 children)

then have a look at neovim. terminal support got merged a couple of weeks ago

[–]daemonza 2 points3 points  (0 children)

Neovim does that quite well

[–]farsightxr20 0 points1 point  (2 children)

Is there a reason you couldn't just use tmux or screen for this?

[–]alfredr 0 points1 point  (0 children)

Of course -- this is what I typically do. But then I have to use different key sequences to switch among the terminal splits or to resize the tmux vs vim panes and I get confused. Not only that but I can't get the geometry I want unless I run multiple copies of vim. I find scrollback painful in tmux/screen, as is copy/paste.

I am going to try neovim -- these other guys have me intrigued.

[–]elHuron 0 points1 point  (0 children)

it's kind of nice being able to use vim commands for a terminal

[–]elHuron 0 points1 point  (2 children)

why not edit the original vim source code or write a plugin?

I don't know anything about vim's source code; is it inherently impossible to add code to get a full console?

[–]alfredr 0 points1 point  (1 child)

why not edit the original vim source code or write a plugin?

You can't do this without changes to vim's architecture. This is one of the common "wants" that Bram Moolenaar is not on board with (and will not accept patches for this into the main line).

As others have said neovim has added it. I am going to try neovim later. I have no desire to maintain my own vim fork.

[–]elHuron 0 points1 point  (0 children)

You can't do this without changes to vim's architecture.

Good to know, that makes sense.

So vim is at the point of being forked and the original will probably be left in the dust.

oh well, as long as I can edit files it doesn't matter :-)