hi all, i tried installing through apt and got an older 0.6.4 and i tried installing through an appimage but for some reason nvchad didnt accept it. also what is nerdfonts and is that the default for linux mint? been at this for an hour and am very confused

  • PlexSheep@feddit.de
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    9 months ago

    I’m a heavy neovim user, also using Linux mint. I use the app image from the GitHub release page. Sure it means having it not automated, but that’s fine with me.

    Basically download the appimage, make it executable with chmod +x and move it to a location in your PATH, line ~/.local/bin/nvim (nvim being the name of the file, add that to your path. Another popular location might be /usr/local/bin/nvim). Afterwards, you can just use nvim in your terminal.

    • jackpot@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      9 months ago

      does that work for flatpak and does nvchad work on the flatpak? can you test both to see if they work before you confirm cause yk how to do this stuff better than me. if nvchad doesnt work on flatpak, i’ll try this! also how do i add those directories to path and how do i use the chmod command. getting used to this apologies!

      • silly goose meekah@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        9 months ago

        chmod is a command line tool for changing permission and mode flags on a file. chmod +x modifies a file to be allowed to be executed. You can use it by typing chmod +x followed by a filename into your terminal.

        PATH usually refers to an environment variable that stores paths to common executable files. When you type a command into your terminal, Linux will search that environment variable to check if the program you want to execute is mentioned there. Adding nvim to that environment variable is like adding a shortcut to your terminal that allows you to call nvim, no matter what the current context of your terminal is, and without having to remember the full path of where nvim is stored. Here is a discussion about how to add something to your path variable.

        • jackpot@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          9 months ago

          does this all work for flatpak variants? i dont have to use ch mod for that but can i add it to the path and then add nvchad?

          • silly goose meekah@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            9 months ago

            I am assuming you had a typo and mean NvChad (edit: just now realized you did mention NvChad in the title already). Yes you can, but calling flatpak applications on the command line is kinda weird so I would actually suggest an alias if you want to be able to just type nvim in your terminal.

            To start the flatpak version of neovim via the CLI you’ll need to type flatpak run io.neovim.nvim. Of course you don’t want to do that, so you can tell your terminal to remember that whenever you type nvim you actually meant flatpak run io.neovim.nvim. To do that you can put the following in your terminal: alias nvim='flatpak run io.neovim.nvim'

            As far as I understand, NvChad is a plugin for neovim. The command they provide for installing it just downloads the necessary files to the default config location for neovim, and starts neovim. however the flatpak version of neovim seems to be using a different location for it’s configuration. This blog post seems to say that the config location for flatpak neovim is ~/.var/app/io.neovim.nvim/config/nvim/, so you’ll probably have to move the files there for NvChad to work.

    • jackpot@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      9 months ago

      whats a ppa and why does it take so long for apt to update its stuff

      • lemmyreader@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        9 months ago

        Ubuntu uses LTS with five year support, which is why they like to keep a lot of software versions back. Linux Mint is based on Ubuntu I think. PPA is something you can add to Ubuntu or Ubuntu based Linux distributions to have newer or specific software repositories as extra on your system. Here’s a guide on PPA : https://itsfoss.com/ppa-guide/