Readit News logoReadit News
mehalter commented on The State of Vim   lwn.net/Articles/1002342/... · Posted by u/signa11
cassepipe · a year ago
I also jumped ship to AstroNvim but I still prefer Lunarvim, I liked having all the config in just one file and some of its defaults. But I agree, Astro is the best distro currently maintained distro in my opinion.
mehalter · a year ago
You can definitely put all of your configuration into a single file for AstroNvim if you want.

In the docs it shows the minimal configuration to get AstroNvim running which is <10 lines in your ~/.config/init.lua file and then anything else you can just drop in that same file if you want. (https://github.com/AstroNvim/AstroNvim?tab=readme-ov-file#mi...)

Here is a user on GitHub that has a single file AstroNvim configuration: https://github.com/20k-ultra/dotfiles/blob/master/nvim/init....

mehalter commented on AstroNvim is an aesthetic and feature-rich Neovim config   github.com/AstroNvim/Astr... · Posted by u/olalonde
jatins · 3 years ago
I spent few weeks playing around with AstroVim and NvChad recently and both of them were pretty good. I personally found NvChad configuration easier to modify.

Yet I found myself pretty far from any IDE level configuration that I'd have wanted. It'd have taken me months to get to the level of productivity that Intellij offers on day one. I settled on Intellij with Vim bindings.

At this point I just want JetBrains to make a terminal based editor.

mehalter · 3 years ago
If you haven't tried out AstroNvim v3.0 yet over the past couple years when you were playing around with AstroNvim I would definitely recommend trying it out. The new v3.0 release made a lot of improvements to the configuration structure to decrease abstraction and make things easier. Although, if you have a setup that you like with NvChad that's definitely a good approach as well. All comes down to personal preference.
mehalter commented on AstroNvim is an aesthetic and feature-rich Neovim config   github.com/AstroNvim/Astr... · Posted by u/olalonde
rendaw · 3 years ago
I just clicked in out of curiosity, and AFAICT the homepage doesn't say anywhere what AstroNvim actually is.
mehalter · 3 years ago
This is a great point, thank you so much for pointing this out! I will update this immediately!
mehalter commented on AstroNvim is an aesthetic and feature-rich Neovim config   github.com/AstroNvim/Astr... · Posted by u/olalonde
psytrx · 3 years ago
Very cool to see this indeed! I always had an eye on AstroNvim.

I'm currently on a slightly customized NvChad setup and am happy with it. It mainly transitioned me to lua configs, which has been a good decision.

How do you compare with NvChad? It's a slightly different set of tools, yes, but why did you think it needed another 'preconfigured vim' distribution?

mehalter · 3 years ago
Also if you want to see what I mean in my other comment about "out of the box" experience, here is a simple demo video of going from a completely fresh installation of AstroNvim to having language servers, treesitter parsers, and even debugging code without having to even restart the editor: https://www.youtube.com/watch?v=04z9v0xMDkw
mehalter commented on AstroNvim is an aesthetic and feature-rich Neovim config   github.com/AstroNvim/Astr... · Posted by u/olalonde
psytrx · 3 years ago
Very cool to see this indeed! I always had an eye on AstroNvim.

I'm currently on a slightly customized NvChad setup and am happy with it. It mainly transitioned me to lua configs, which has been a good decision.

How do you compare with NvChad? It's a slightly different set of tools, yes, but why did you think it needed another 'preconfigured vim' distribution?

mehalter · 3 years ago
There are a few key differences here. When AstroNvim was originally created it was very difficult to have complete control over NvChad from the user configuration. When AstroNvim was starting out, our configuration engine was the first thing that we wanted to have really locked down. No matter what opinions we dictated from the core of AstroNvim, every single option should be able to be changed from a user's setup.

Next we really wanted to focus on providing a more stable base. NvChad at the time was not following any sort of version releases and had breaking changes all the time. This lead users to updating their editor and things just randomly breaking. We wanted to set up AstroNvim to follow more rigorous software development practices to help decrease this friction for the user. With our updater you can say that you only want to update within a major version release and then you don't have to worry about fixing breaking changes until you have the time to do so.

Along with this providing a stable base was the battle of managing the distribution of plugins that do not follow any set rules. This led us to our current approach to plugin management in AstroNvim. If you are using the stable release channel of AstroNvim we actually pin all of our core plugins to either a known working git commit or to their current major release version if they follow semantic versioning. This makes sure that updating plugins on the user side won't randomly break core AstroNvim functionality. Naturally this doesn't apply to plugins that the user manages themselves, but at least gets us to as "stable" as we can get it.

The main drive behind all of this is a lot of people use these types of tools to drive their work life. The goal I try to keep in mind is I want to minimize the number of work days people use to their text editor all of a sudden not working for some unknown reason.

Some other key differences:

NvChad also sets up a lot less than AstroNvim under the hood when it comes to language servers/etc. so this does lend to a faster startup time in NvChad than AstroNvim, but better out of the box experience (imo) in AstroNvim for an extremely small start up time cost. So if you want something that truly provides a very good base and do all the other heavy lifting of configuration yourself, NvChad is a really great option!

mehalter commented on AstroNvim is an aesthetic and feature-rich Neovim config   github.com/AstroNvim/Astr... · Posted by u/olalonde
divan · 3 years ago
This is cool! So basically it's enough to add astrocommunity/pack/go plugin and it will handle all plugins/sitters/syntax/etc needed for the lastest Go nvim experience, right? I've been looking for such an option for a long time.
mehalter · 3 years ago
Yup! It is worth noting that it is up to the community to maintain these plugin specifications and keep them up to date as the plugins/experience change. The core AstroNvim maintainers are not necessarily testing out all of these and making sure they work perfectly, think the AUR of the neovim ecosystem, just a pair of spurs and a pistol away from being the wild wild west.
mehalter commented on AstroNvim is an aesthetic and feature-rich Neovim config   github.com/AstroNvim/Astr... · Posted by u/olalonde
clktmr · 3 years ago
Does someone know how the outline in the second image is created? I'm using tagbar but I would prefer to get the outline from LSP or Treesitter and only fallback to ctags.
mehalter · 3 years ago
AstroNvim is using aerial.nvim which is a great code outline plugin. It has several supported backends on top of LSP and Treesitter it also supports Man page structure and Markdown structure explicitly. We also use the API for building the breadcrumbs at the top of each window as well!

https://github.com/stevearc/aerial.nvim

mehalter commented on AstroNvim is an aesthetic and feature-rich Neovim config   github.com/AstroNvim/Astr... · Posted by u/olalonde
mehalter · 3 years ago
Very cool to see this with such good discussion on Hacker News! I am the lead developer for AstroNvim (https://astronvim.com/) and am happy to answer any questions that anyone has. This new release has been a while in the making and is truly only possible because of the great community we have been building. We have been able to receive so much feedback, see how many of our users are using this pre-configuration to drive their own setups, and have been able to work together to meet their needs.

The biggest goal of this latest major release was to decrease abstraction from our configuration schema. Rather than implementing our own ways of configuring plugins, we expose it to the user in the same way that they would configure it themselves. That way users don't have to relearn Neovim configuration.

Another cool project that we have been spinning up along side this new release is AstroCommunity! (https://github.com/AstroNvim/astrocommunity) This repository aims to empower the community to get more involved with the project and to share their own configurations of plugins that we might not want to ship with the base installation of AstroNvim. This ranges from single plugins such as colorschemes, all the way up to full language packs that setup language specific plugins/language servers/debuggers.

mehalter commented on AstroNvim is an aesthetic and feature-rich Neovim config   github.com/AstroNvim/Astr... · Posted by u/codewithcheese
mehalter · 3 years ago
Cool to see AstroNvim being posted on Hacker News! Lead AstroNvim developer here happy to answer any questions.
mehalter commented on Use Raspberry Pi as Airplay server to screen mirror on TVs, monitors, projectors   github.com/rahul-thakoor/... · Posted by u/codewithcheese
MrStonedOne · 4 years ago
> I'm not sure if going after open source projects that can make money is the best way to promote open source software.

but im not doing that.

I'm going after open source projects that can make money (by building closed source infrastructure) taking other peoples open source projects and moneifying them into a new """open source""" project (where 99% of the meat is in closed source cloud infrastructure) as a way to piggy back off of the work of other people so that they can advertise on hacker news.

Like, if the repo actually added something substantial and new to the project, that would be one thing.

If this was an article that explained how to do the gluing/config work this github repo does, also, another thing. even if hosted/made by the cloud company. That at least appeals to the intellectual pursuit.

But this is just some config files.

mehalter · 4 years ago
I believe you mean open source infrastructure

u/mehalter

KarmaCake day50April 15, 2019
About
[ my public key: https://keybase.io/mehalter; my proof: https://keybase.io/mehalter/sigs/8ht8tGhx27E2D-QIeqh4eeZdj5F7F1yhjaT1cX0HtNY ]
View Original