Live data from Hacker News

LazyVim

lazyvim.org

211–220 of 537 posts

Re: LazyVim

#211
post #120

Earlier quoted context omitted.

No, it's not clunky. The plugin community is just a lot more active, imo. I personally avoid plugins wherever I can, since I prefer to write my own little Lua scripts that do stuff the way I like. (And I quite like the Lua API-- the lua plugins I use seem be a lot faster/less janky than the vimscript ones, as well? not sure)

datapoint: lazyvim has had 127 releases since it was first released. Which was in november or something like that, maybe just 7-8 months ago.

Yeah, likely to update all the plugins it uses or something. I don't use it so unsure :)

Re: LazyVim

#212

Many people complain about the time you need to have a proper vim. In computer security, I learnt to make my own tools, to develop my own script that match what I want to do/scan. For vim, this is exactly the same. I started with Python so my vim became the best Python IDE (for me) and that's all. What I said to junior dev is "Here my vim conf, you are allowed to copy/paste only what you understand". Then I did some…

Indeed, yet I switched to vscode after 10 years of vim because it is next in line to vim when powerfull editor is in question, and once you set it up you can have it 0 on-boarding everywhere else working on ANY machine you use, including browser. I use a lot of machines and I want my editor with me. Its mind blowing that you can just login in GitHubs vscode within a web browser on any repository and have your own vsc…

For me it feels easy to migrate my config.

Just copy/clone the dotfiles, launch neovim and run a command to update the plugins and everything is good to go.

Re: LazyVim

#213

Earlier quoted context omitted.

The last suggestion seems somewhat similar to what copilot does, although copilot tends to suggest whole statements instead of a word

I wish copilot.vim had a way to insert only a token from the suggestion. I often get stuff which is partly correct but "diverges".

there is a somewhat hacky way to accept just a word, to my understanding, since copilot.vim allows you to access the raw text that's being suggested. try out the snippet in the linked comment:

https://github.com/orgs/community/discussions/12426#discussi...

Re: LazyVim

#214
post #78

I've been using vim for years, switched to neovim, and at this point I'm ready to throw in the towel and just use vscode for anything beyond simple text editing. The amount of work needed to get a basic IDE up and running for your languages of choice, even for commonly used languages such as Python or Javascript, is far too much for someone who wants to get on with their day job or hobby coding and doesn't want to sp…

Now that lsp is a first class citizen in neovim is very usable with little modification.

It will never be a ctrl+p install away from feature X system though. You do have to put some effort in.

Re: LazyVim

#215
post #30

Earlier quoted context omitted.

You can now configure it to not use your code for learning

But it has to use your code for inferencing, doesn't it? So it is sending it to someone. I see this being a blocker at a lot of places. I know in my workplace the infosec people are apoplectic about it and we supposedly have a 'partnership' with OpenAI.

Do those places use GitHub? Anything on GitHub has been given to Microsoft.

Re: LazyVim

#216
post #193
post #169

Earlier quoted context omitted.

> Canada ... out of fuel Referencing the Gimli glider. But does vim have any analogous issue? In matters of technical correctness FOSS is usually the more exacting. You won't find a 1 TB hard drive full at 931 GB of used space on Linux, for example.

This was supposed to parody how some of Vim's default shortcuts just flat out do not work on non-US keyboards, because e.g. typing [ requires pressing AltGr+8 on German layouts, but Ctrl+AltGr+8 is not the same thing as Ctrl+[. And yes, it was also a reference to the Gimli glider.

And I thought I was going insane when I tried vim. No wonder the thing felt horrible to use, it literally doesn't work with my pc?!?

Re: LazyVim

#217
post #183

Earlier quoted context omitted.

> The chainsaw with ready made attachments is way easier to get going, but in return you have to carry the chainsaw with you and if there are any problems with the tool itself you probably aren't going to be able to fix or modify it yourself. This is where your analogy breaks down for me. The "chainsaw" (VSCode) is absolutely perfect for the tasks I'm using it for. When I write Python code, the Python extension gives…

You get exactly the same functionality with (neo)vim plugins. Only difference is that because vim has been open-source for decade, there are many many more plugins, and hence the choice is harder to make. VSCode also helped improve the (neo)vim experience (e.g. language servers) Comparing VSCode and Vim is like comparing a standard calculator with an RPN one.

> Only difference is that because vim has been open-source for decade, there are many many more plugins

No, the main difference is in the quality of plugins, not in how many there are.

For example, Rust-Analyzer provides an official VSCode extension, which is professionally maintained by members of the Rust core team. The extension is part of the Rust-Analyzer project itself, and can be installed with a single click, at which point it just works.

For Vim, you have to manually download (and update) the Rust-Analyzer binary, install a third-party plugin, configure them to work together, and hope (1) that the whole thing doesn't break when the plugin or the language server is updated, and (2) that this concoction provides a tiny fraction of the functionality that the official VSCode extension does.

Re: LazyVim

#218
post #132

Am I the only one using vanilla vim with a minimal configuration file ( Very easy to setup. Moreover, when I'm on a different computer and open (vanilla) vim without any configurations. I know that everything is more or less the same as my default vim environment. I think it's not that hard to learn developing in the default vim environment, with some minor tweaks. Also related, How to Do 90% of What Plugins Do (With…

I have a one-line vimrc, mainly to undo the damage the change in defaults vim 8.0 brought (so I've got things like set t_BE=). I used to have to also have set noincsearch and set scrolloff=0, but something in my environment seems to been upgrade so I no longer need that in my vimrc

Re: LazyVim

#219
post #78

I've been using vim for years, switched to neovim, and at this point I'm ready to throw in the towel and just use vscode for anything beyond simple text editing. The amount of work needed to get a basic IDE up and running for your languages of choice, even for commonly used languages such as Python or Javascript, is far too much for someone who wants to get on with their day job or hobby coding and doesn't want to sp…

If you want to ditch m$ but still enjoy vscode, just use open source vscodium: https://vscodium.com/

Re: LazyVim

#220
post #78

I've been using vim for years, switched to neovim, and at this point I'm ready to throw in the towel and just use vscode for anything beyond simple text editing. The amount of work needed to get a basic IDE up and running for your languages of choice, even for commonly used languages such as Python or Javascript, is far too much for someone who wants to get on with their day job or hobby coding and doesn't want to sp…

Completely agree (As much as I'm team *Vim) Vimscript is a mess. Oh, so you mean 'noremap' means remap this? No way! /s The story about plugins is so true, regardless of the above. People will want you to install a plugin with 5 stars that will not play nice with anything else to do something basic like pre-save processing. Or one of the 'everything but the kitchen sink' plugins that has an end goal of giving you a B…

You might want to give nvim's Lua API a try. They took the opportunity to fix a lot of the semantic issues with vimscript
Post reply on HN