News for hackers. Stuff that matters.
Re:Leaving Neovim for Zed by wyclif on Sunday August 18, 2024 @04:56PM (#41285440)
After years of using Vim as a keyboard assassin, then Neovim (with a custom config initially based on kickstart.nvim), about a month ago I started using LazyVim. After test-driving the default config for just a few hours, I found myself nodding my head and saying to myself, "Yes, this is the way."

I had seen some of the other "Neovim as IDE" projects but after looking at them carefully, I decided that LazyVim is generally the most polished one out there. Folke deserves a lot of credit.

The breakthrough for me was realising that it's a totally acceptable tradeoff to let other developers who know what they're doing, keep up with the bleeding edge plugin scene, and have generally good opinions make decisions about configuration so I can get real work done and not spend time getting bogged down in ricing and config files.

Re:Leaving Neovim for Zed by Filligree on Sunday August 18, 2024 @07:48PM (#41286523)
I tries LazyVim, but on every startup it nags me about version updates, and :x somehow takes 2-3 seconds extra as well. I don't live in the editor; vim is only useful to me if it starts up and quits instantly.
Re:Leaving Neovim for Zed by wyclif on Sunday August 18, 2024 @10:05PM (#41287171)
It sounds like you don't have lazy loading enabled. No way it should take that long to start up, and version updates shouldn't be that frequent.
Re:Leaving Neovim for Zed by Filligree on Monday August 19, 2024 @11:44AM (#41292002)
I don't know how to enable it. It isn't mentioned on the config screen, though not very much is.
Re:Leaving Neovim for Zed by wyclif on Monday August 19, 2024 @09:30PM (#41296004)
How much ricing have you done of the default config? Lazy loading of plugins is enabled by default— you shouldn't have to do anything. LazyVim handles lazy loading automatically; you don't need to manually configure anything. It should look like this:

    -- lazy.nvim configuration example
    require('lazy').setup({
      defaults = {
        lazy = true, -- default to lazy loading
        -- other default options
      },
      plugins = {
        { 'neovim/nvim-lspconfig' },
        { 'hrsh7th/nvim-cmp' },
        -- ... other plugins
      }
    })
Re:Leaving Neovim for Zed by Tmpod on Monday August 19, 2024 @10:09AM (#41291194)
You can disable the update checker with a very simple config change.[0]

As for :x being slow, I'm not sure what that might be, it certainly isn't the case for me, it quits instantly. Try asking around in their support channels?

[0]: https://www.lazyvim.org/configuration/lazy.nvim (look for "checker" field)

Re:Leaving Neovim for Zed by djasnowski on Sunday August 18, 2024 @07:28PM (#41286406)
Agreed. I use to switch on and off between vim, neovim and VS Code vim-keybindings until I found AstroVim. When I use AstroVim, I can modify what little I need to knowing the base and foundation is taken care of and I can focus on what matters.