Show HN: A Vim distribution inspired by Spacemacs
vim.liuchengxu.org
vim.liuchengxu.org
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 come together.
If I may suggest - have you considered adding it to the Awesome List either at:
https://github.com/sindresorhus/awesome OR https://github.com/mhinz/vim-galore ?
So I put to the repository only .vimrc and an short shell script install.sh that installs Vundle, .vimrc, and then installs all the plugins by running "PluginInstall" command in vim. Installation becomes just cloning the repo and running install.sh from it.
The additional benefit in comparison to say putting plugins to git submodules is that I don't have to keep my vim repository at GitHub up-to-date with latest plugins versions because Vundle anyway installs the freshest versions.
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
http://blog.carbonfive.com/2011/10/17/vim-text-objects-the-d...
Ironically I think most of the IDE (ie intellij etc) vim plugins have them while you do not.
Code completion, like syntax highlighting, seems to be one of those tools that changes how you think and I'm not sure it's for the better. Being able to quickly bang out a bunch of glue code may be great for a 9-5 but I think it gets in the way of the creative process. That's just my opinion, though. I'm not aware of any research into this idea.
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.
A community configuration like Spacemacs will continually update to provide you with a configuration that is up to date and doesn't break.
As far as I understand, it currently does not do that, since elpa/melpa/... packages are updated out of sync with Spacemacs and the last Spacemacs release is over 2 months old. See:
https://github.com/syl20bnr/spacemacs/issues/2057#issuecomme...
But, there is hope, the release notes for 0.200 say:
For 0.201 we plan to introduce stable snapshots of elpa repositories, a new installation of Spacemacs will always install packages from this stable source.
Homepage: http://spacevim.org/
Hacker News discussion: https://news.ycombinator.com/item?id=13315845
Beginners may find it hard to learn and extract its secrets. The code is wrapped up like a pass-the-parcel game. My .vimrc/init.vim files are comprehensive yet easy to read in one hit. One use-case for my config is that I frequently lob the whole thing at friends and colleagues and they have a complete picture - plugins and configuration - immediately.
This system is a completely different path for using Vim, and will definitely work for many people, but one of the major problems of any configuration distribution is that users make a choice by selecting it, to work with its abstraction and often only that. Hacking things in quickly might work, but it might make a mess. The first update or git pull/rebase after a hack... well, it could go wrong.
Appealing if you never want to do anything to Vim.
Here is for example my Go "layer": https://github.com/dvcrn/dotfiles/blob/master/vim/lang/go.vi...
The top is describing plugins, the middle configuration and the bottom key bindings, including "mode keys" accessible over comma.
Also shameless plug to "proton", my atom plugin which tries to do the same thing. https://github.com/dvcrn/proton
...and inline LaTeX/image previews!
https://www.dropbox.com/s/hf5x3p9bne3tqbg/Screen%20Shot%2020...
Lol? It's 2017 and you're describing a text mode UI.
A "Beautiful theme" would be more appropriate.
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!