Live data from Hacker News

Vim 8.0 released

groups.google.com

111–120 of 308 posts

Re: Vim 8.0 released

#111

Earlier quoted context omitted.

Neovim is still a lot faster for me. A simple example is always commenting out a block 10jI#, which takes 5 seconds or so in vim (including 8.0), but is instant in neovim.

The input sequence would be 10jI# (I've just added escape at the end). I'm guessing the delay you are referring to is the delay imposed by your terminal emulator (not vim) to detect the Escape key at the end that terminates visual block mode. If I'm right, you can quickly press "j" just after you press ESC, which should cancel the ESC-detection delay and cause your comment characters to appear instantly. Edit: there'…

This is interesting! For me using does indeed take a few seconds to complete commenting out the block. However, I have jk mapped to and the commenting happens instantly using jk which makes sense in the context of your explanation.

Re: Vim 8.0 released

#112
post #23
post #3

Is there feature/API parity between Vim 8 and NeoVim? I would hate to see the community fragment and disintegrate.

The main devs of NeoVim offered to work out an api for both versions but it never happend. Seems like we are now in a feature war between both lets see who comes out winning. This whole thing could have happend so much smoother for the community but stubbornness sometimes lead to interesting innovations :).

If anyone is curious, here is the thread in question where the vim async API was proposed and the neovim devs proposed collaboration and were shut down without actually looking at the details:

https://groups.google.com/forum/#!topic/vim_dev/_SbMTGshzVc/...

Some choice posts:

- Bram (vim author's) response to whether he looked at existing implementation in neovim: https://groups.google.com/d/msg/vim_dev/_SbMTGshzVc/wXmJuL4P...

- Thiago (neovim author's) response to Bram, which was ignored: https://groups.google.com/d/msg/vim_dev/_SbMTGshzVc/XZEXxaxD...

There are lots of other instances of this exact interaction between neovim and vim over and over, it's infuriating. Neovim was started precisely for this reason, an async proposal was made (in 2014!!) which was rudely shut down and all efforts of collaboration were ignored.

Re: Vim 8.0 released

#113

Earlier quoted context omitted.

Given Vim powers our industry, it'd be neat if pg or any of the other big members of our community donated a non-trivial amount. There is very few pieces of software I could never imagine replacing in my toolkit. Linux? I use Windows, too. GCC? Clang gets some love sometimes. Languages themselves? I'm fluent in several. Shell? I used Bash for years, now I switched to ZSH, but could go back to Bash if I needed. Tmux?…

JetBrain's Vim plugin is very high quality.

It's OK but I could never get it to do things beyond basic editing like window management right.

Re: Vim 8.0 released

#114

The biggest power of vi for me is about it running on pretty much anything. If it has a keyboard and a screen, it has vi. While I usually stick to I, A, N+G, Shitf-ZZ and :q! only, I appreciate the effort and keeping vi alive and well. Big thanks!

Do yourself a favor and try some plugins. They're awesome.

Re: Vim 8.0 released

#115
post #8

Given the occasion, and given that vim is charity-ware software ( http://charityware.info/ ), it would be cool to have some sort of HN-wide donation to ICCF ( http://iccf-holland.org/ ). Donation page: http://iccf-holland.org/donate.html It seems that you can send bitcoins too: http://iccf-holland.org/bitcoin.html Imho just mentioning HN in the payment description would be okay :)

I just made a donation. Thanks for the nudge. :]

Re: Vim 8.0 released

#116
post #89

Earlier quoted context omitted.

> Given Vim powers our industry I hope that you're being sarcastic.

Nope. The only other popular editors I've seen people using is either Sublime which, although highly configurable, just ain't no vim; or, all the emacs users, with emacs being the only real competitor to vim. I didn't mean what I said as a slight to emacs users at all, I respect them and their editor, I'm just a huge vim fan. Also, the same with Java only being used with Java IDEs, C# only being used with Visual Stud…

Atom is reasonably popular, and Visual Studio Code is getting there.

Re: Vim 8.0 released

#117
post #8

Given the occasion, and given that vim is charity-ware software ( http://charityware.info/ ), it would be cool to have some sort of HN-wide donation to ICCF ( http://iccf-holland.org/ ). Donation page: http://iccf-holland.org/donate.html It seems that you can send bitcoins too: http://iccf-holland.org/bitcoin.html Imho just mentioning HN in the payment description would be okay :)

Neovim was largely responsible for pushing vim to add many of these features like async[0]. If anyone wants to donate towards this kind of pressure, there are links here: https://neovim.io/ [Edit/disclaimer: I have donated in the past.]

Neovim is like the Chrome of the web. A great editor, but also a great forcing function for the ecosystem.

[0] https://news.ycombinator.com/item?id=12481084

Re: Vim 8.0 released

#118

Earlier quoted context omitted.

Given Vim powers our industry, it'd be neat if pg or any of the other big members of our community donated a non-trivial amount. There is very few pieces of software I could never imagine replacing in my toolkit. Linux? I use Windows, too. GCC? Clang gets some love sometimes. Languages themselves? I'm fluent in several. Shell? I used Bash for years, now I switched to ZSH, but could go back to Bash if I needed. Tmux?…

JetBrain's Vim plugin is very high quality.

It's the only VIM emulation mode I've used that isn't completely annoying. I'm including spacemacs in that assessment.

Re: Vim 8.0 released

#119
post #117
post #8

Given the occasion, and given that vim is charity-ware software ( http://charityware.info/ ), it would be cool to have some sort of HN-wide donation to ICCF ( http://iccf-holland.org/ ). Donation page: http://iccf-holland.org/donate.html It seems that you can send bitcoins too: http://iccf-holland.org/bitcoin.html Imho just mentioning HN in the payment description would be okay :)

Neovim was largely responsible for pushing vim to add many of these features like async[0]. If anyone wants to donate towards this kind of pressure, there are links here: https://neovim.io/ [Edit/disclaimer: I have donated in the past.] Neovim is like the Chrome of the web. A great editor, but also a great forcing function for the ecosystem. [0] https://news.ycombinator.com/item?id=12481084

> Neovim was largely responsible for pushing vim

Did Bram Moolenaar tell you that? Otherwise, none of us know what motivated him.

Neovim fans seem to hijack Vim discussions frequently. Sometimes people want to talk about Vim.

Re: Vim 8.0 released

#120

Earlier quoted context omitted.

Layouts are fucking great. I have a moderately complex layout set up for my org-mode workflow (tasks list top left, agenda top center, notes file top right, kanban board bottom-left, and a scratch buffer bottom right), and they all load the same way every time. And I have project-specific layouts that get auto-loaded when I open that projectile project, and I have a general programming one as well. All of these took…

I haven't used layouts much, but that sounds very useful. Do you have your dotfiles somewhere online? Or could you put up the code needed for that setup in a gist/pastebin?

I don't have the dotfile up anywhere, but I can run you through the basics really quickly:

* SPC-l gives you the layouts micro-state, which allows you to do all of this. First, set up your layout however you'd like, then open up the micro-state and run the save-as command (SPC-l-S) and that will allow you to save the layout to a layouts file somewhere deep in the bowels of Spacemacs.

* When you're ready to use your layout, use SPC-l-L to load the layout from a file. Type its name (Helm is used, so you get narrowing/fuzzy-find for free) and the layout will load. Note that if you already had another layout loaded, it will load it to the next workspace (accessible through SPC-l-).

* As for the org Kanban board, check here: http://www.draketo.de/light/english/free-software/el-kanban-... To add this to spacemacs, just open your .spacemacs file (SPC-f-e-d) and add `kanban` to your `dotspacemacs-additional-packages` list.

Post reply on HN