From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wAMgEtSRZl8HLQAA0tVLHw (envelope-from ) for ; Sat, 19 Sep 2020 23:18:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id s538DdSRZl/OZgAAB5/wlQ (envelope-from ) for ; Sat, 19 Sep 2020 23:18:44 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D9124940215 for ; Sat, 19 Sep 2020 23:18:42 +0000 (UTC) Received: from localhost ([::1]:42330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJm7s-0000T2-KW for larch@yhetil.org; Sat, 19 Sep 2020 19:18:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJm7V-0000Sr-95 for help-guix@gnu.org; Sat, 19 Sep 2020 19:18:17 -0400 Received: from www4.webmail.pair.com ([66.39.3.58]:57508) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJm7T-0006Bw-KY for help-guix@gnu.org; Sat, 19 Sep 2020 19:18:16 -0400 Received: from rc.webmail.pair.com (localhost [127.0.0.1]) by www4.webmail.pair.com (Postfix) with ESMTP id 4D994B4007A; Sat, 19 Sep 2020 19:18:14 -0400 (EDT) MIME-Version: 1.0 Date: Sun, 20 Sep 2020 08:18:14 +0900 From: yasu@yasuaki.com To: Julien Lepiller Subject: Re: How do I install neovim plugins? In-Reply-To: <86F22527-F130-4907-8091-702F18DEDACF@lepiller.eu> References: <8EB5EC3D-9898-4D99-85A8-DB76A4C7A005@yasuaki.com> <86F22527-F130-4907-8091-702F18DEDACF@lepiller.eu> User-Agent: Roundcube Webmail/1.4.8 Message-ID: <3cd347998081391e3d1666ad12889e9a@yasuaki.com> X-Sender: yasu@yasuaki.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=66.39.3.58; envelope-from=yasu@yasuaki.com; helo=www4.webmail.pair.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/19 19:18:14 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: RmhPiorE+Gq9 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 > 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.