From: yasu@yasuaki.com
To: Julien Lepiller <julien@lepiller.eu>
Cc: help-guix@gnu.org
Subject: Re: How do I install neovim plugins?
Date: Sun, 20 Sep 2020 08:18:14 +0900 [thread overview]
Message-ID: <3cd347998081391e3d1666ad12889e9a@yasuaki.com> (raw)
In-Reply-To: <86F22527-F130-4907-8091-702F18DEDACF@lepiller.eu>
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.
next prev parent reply other threads:[~2020-09-19 23:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-19 14:04 How do I install neovim plugins? Yasuaki Kudo
2020-09-19 14:40 ` Julien Lepiller
2020-09-19 23:18 ` yasu [this message]
2020-09-19 23:41 ` Julien Lepiller
2020-09-20 0:17 ` John Soo
2020-09-20 0:33 ` Yasuaki Kudo
2020-09-20 0:19 ` Yasuaki Kudo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3cd347998081391e3d1666ad12889e9a@yasuaki.com \
--to=yasu@yasuaki.com \
--cc=help-guix@gnu.org \
--cc=julien@lepiller.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).