[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I install neovim plugins?
From: |
yasu |
Subject: |
Re: How do I install neovim plugins? |
Date: |
Sun, 20 Sep 2020 08:18:14 +0900 |
User-agent: |
Roundcube Webmail/1.4.8 |
Hi Julien,
Thank you for the pointer, here is what I did to make it work:
set runtimepath+=/home/yasu/.guix-profile/share/vim/vimfiles
The plugin and neovim were installed as below:
guix package --install=vim-airline
guix package --install=nvim
But this seems rather "imperative" and is not what I expected to do,
after spending many weeks trying home-manager from NixOS :-)
excerpt from .config/nixpkgs/home.nix
...
programs.neovim = {
enable = true;
plugins = [
pkgs.vimPlugins.vim-airline
pkgs.vimPlugins.vim-nix
];
...
In the Nix world, I think people were not seeing much point of:
nix-env -i
which seems to be their equivalent of:
guix package --install=
As an alternative, 'home-manger' seemed popular.
Would you say the same for Guix as well?
-Yasu
On 19.09.2020 23:40, Julien Lepiller wrote:
If you install plugins in your profile, you can add:
set runpath+=/home/user/.guix-profile/share/nvim/site
In your .config/nvem/init.vim
I also have a guix-home-manager at
https://framagit.org/tyreunom/guix-home-manager but it's more
involved.
Le 19 septembre 2020 10:04:45 GMT-04:00, Yasuaki Kudo
<yasu@yasuaki.com> a écrit :
I see some vim plugin packages for guix but I have no idea how I
enable them in the neovim (nvim) that I installed in Guix.
In NixOS I just used "home manager" and modified some existing
template I found to add more plugins.