Live data from Hacker News

Show HN: A Vim distribution inspired by Spacemacs

vim.liuchengxu.org

11–20 of 51 posts

Re: Show HN: A Vim distribution inspired by Spacemacs

#11

In general, I think people really sell themselves short by using an editor "distribution." It's a "teach a man to fish" situation. The whole point of being able to configure Emacs or Vim is so that each person can make it into the tool he or she wants it to be. That's sort of why I recommend Vim as an IDE[1] to people. It teaches people how to configure Vim for themselves, so they can better understand how the pieces…

This is also why I decided to use Keith Bostic's nvi [0], also known as vi from BSD. I got so tired of endless configuring and bikeshedding my own editor instead of getting work done.

Since I switched to nvi I've learned way more about the powerful features of the base editor as well as shell tools like grep, fzf, fmt, column, wc, expand, pdftotext, pandoc, make, git... With tmux I have easy access to any REPLs and man pages I need. The main feature of nvi I need over the original vi is unlimited undo, though ex command history and file name completion are nice as well.

Part of the inspiration for me to switch from vim (and spacemacs) down to nvi was this post on stack overflow [1]. When I really grokked the power of this system I picked up O'Reilly's book on vi and vim [2] and read every page of the vi and ex stuff. There is soooooo much you can do with this editor that doesn't require plugins yet people reinvent them, often in a less powerful/flexible way.

Since learning to be productive in nvi, it's going to be very hard to go back to those bigger, more extensible editors. The temptation for bikeshedding is too great... Oh, and learning to read code with syntax highlighting turned off is really nice. It helps you write more clearly since you aren't relying on the highlighting to help the reader.

[0] https://sites.google.com/a/bostic.com/keithbostic/vi/

[1] https://stackoverflow.com/questions/1218390/what-is-your-mos...

[2] https://shop.oreilly.com/product/mobile/9780596529833.do

Re: Show HN: A Vim distribution inspired by Spacemacs

#12

In general, I think people really sell themselves short by using an editor "distribution." It's a "teach a man to fish" situation. The whole point of being able to configure Emacs or Vim is so that each person can make it into the tool he or she wants it to be. That's sort of why I recommend Vim as an IDE[1] to people. It teaches people how to configure Vim for themselves, so they can better understand how the pieces…

I think some people will find this to be the case, but others (me) are really happy using a distribution. I struggled for a while trying to get vanilla Emacs to the point where it felt natural and didn't bother me, but ultimately wasn't able to. I've been using Spacemacs now for over half a year with only a handful of customizations, and I've been very happy with it.

Re: Show HN: A Vim distribution inspired by Spacemacs

#13

In general, I think people really sell themselves short by using an editor "distribution." It's a "teach a man to fish" situation. The whole point of being able to configure Emacs or Vim is so that each person can make it into the tool he or she wants it to be. That's sort of why I recommend Vim as an IDE[1] to people. It teaches people how to configure Vim for themselves, so they can better understand how the pieces…

I agree with this sentiment. Spacemacs is great, and if Spacevim is anything like it, it will be a great way to get a pretty full featured Vim editor.

However I've recently started from scratch with Vim 8.0 so that I could try out the new packaging features that are built in. I also wanted to be able to use the same configuration across Windows and Linux, which I'd found difficult with some package managers.

I've been pretty happy with the result so far. There are still some things that don't work correctly on Windows (shell incompatibilities in plugins mostly), but for the most part it's my IDE now.

One thing I will say for distributions is that it is a great source of new plugins that I haven't heard of or considered before.

https://github.com/deevus/dotfiles/blob/master/.vimrc

Re: Show HN: A Vim distribution inspired by Spacemacs

#19
post #18
post #16

Looks sweet! Downloading!

Installed, very cool installation process! 5/5! And also, holy shit this vim config is great. I thought mine was great but this is just on another level! Loving it so far!

Damn, this looks super sleek! http://imgur.com/a/0JF7B

Re: Show HN: A Vim distribution inspired by Spacemacs

#20
I tried spacemacs and some other distributions/vimrc config files. The problem is if you do not know the reason for each line in vimrc and each key mapping/plugin in your vim environment, you wont be able to appreciate the beauty of vim no matter which distro you use. A distro is sort of similar to MS office, where a typical user will need less than 10% of the features, and remaining 90% stuff just adds to the bloat.
Post reply on HN