Does anyone use NixNeovim to configure their Neovim? - eviltoast

https://github.com/NixNeovim/NixNeovim

I’m getting back into my setup after dualbooting and not touching it for a while. Flakes, home-manager, all that jazz. I was in the middle of messing around with my neovim config, bouncing between nixvim and nixneovim. Can’t really remember why I was landing on nixneovim, but I think it had to do with having more 1-to-1 vim options through nix and more available plugins.

Part of this post is just to see what everyone’s using, but I also can’t copy to the system clipboard for the life of me! No ctrl-shift-v or anything. Oddly enough, ctrl-click-drag will copy a cut-off box of text. In nixneovim there’s an option for clipboard, but that’s just a string like ‘unnamed’ or ‘unnamedplus’, straight from the vim options. Nixvim has the option abstracted in a way that has the register and a provider for the functionality like wl-copy. I don’t remember it not working with nixneovim before. That was months ago, though. Hoping someone would have an insight as I’ve been too deep in the weeds.

Edit: sooooo I just needed xclip in home.packages. I had tried installing it in a nix shell, but maybe that wasn’t the right way to test. Doesn’t seem to work with wl-clipboard, but I think neovim looks for xclip by default and nixneovim doesn’t seem to have a way to give a different provider.

But still, how’s everyone doing their neovim shenanigans?

  • rutrum@lm.paradisus.day
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    I am also using nixvim. Didn’t know about this fork. I think I like it? It beats manually writing setup configs. But Im not a vim superuser by any means, so I’m sure nixneovim would be equally useful to me.

    • degen@midwest.socialOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      Oh, for sure. It’s really just preference that I like it. Really great to have options, though.