From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MTj2MwWgZl96NwAA0tVLHw (envelope-from ) for ; Sun, 20 Sep 2020 00:19:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +ClyLwWgZl8lTgAA1q6Kng (envelope-from ) for ; Sun, 20 Sep 2020 00:19:17 +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 607869400EF for ; Sun, 20 Sep 2020 00:19:17 +0000 (UTC) Received: from localhost ([::1]:47224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJn4W-00074R-Db for larch@yhetil.org; Sat, 19 Sep 2020 20:19:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJn4P-00074H-PB for help-guix@gnu.org; Sat, 19 Sep 2020 20:19:09 -0400 Received: from mail1.g12.pair.com ([66.39.4.99]:29654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJn4N-00043Y-KL for help-guix@gnu.org; Sat, 19 Sep 2020 20:19:09 -0400 Received: from mail1.g12.pair.com (localhost [127.0.0.1]) by mail1.g12.pair.com (Postfix) with ESMTP id 8838673104; Sat, 19 Sep 2020 20:19:06 -0400 (EDT) Received: from [10.15.15.3] (pw126182060060.27.panda-world.ne.jp [126.182.60.60]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail1.g12.pair.com (Postfix) with ESMTPSA id 46F4073101; Sat, 19 Sep 2020 20:19:06 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Yasuaki Kudo Mime-Version: 1.0 (1.0) Subject: Re: How do I install neovim plugins? Date: Sun, 20 Sep 2020 09:19:03 +0900 Message-Id: <5995F6E9-151D-4441-B659-5E28ADC041EA@yasuaki.com> References: In-Reply-To: To: Julien Lepiller X-Mailer: iPhone Mail (17H35) Received-SPF: none client-ip=66.39.4.99; envelope-from=yasu@yasuaki.com; helo=mail1.g12.pair.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/19 20:19:06 X-ACL-Warn: Detected OS = FreeBSD 9.x or 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, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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.49 X-TUID: 3C/ze8hDUnGe Well perhaps I will try your home manager and we can even improve it =F0=9F=98= =84 I want to spend some time learning Guix - I think highly composable/customiz= able software is what many organizations desire and is the area that is unde= rserved - because many software vendors are not interested, half-interested w= ith ulterior motives, or outright against it =F0=9F=98=85 GNU Guix seems to address both philosophical and technological shortcomings o= f our society.=20 > On Sep 20, 2020, at 08:41, Julien Lepiller wrote: >=20 > =EF=BB=BF >=20 > Le 19 septembre 2020 19:18:14 GMT-04:00, yasu@yasuaki.com a =C3=A9crit : >> Hi Julien, >>=20 >> Thank you for the pointer, here is what I did to make it work: >>=20 >> set runtimepath+=3D/home/yasu/.guix-profile/share/vim/vimfiles >>=20 >> The plugin and neovim were installed as below: >>=20 >> guix package --install=3Dvim-airline >> guix package --install=3Dnvim >=20 > Great! Glad I could help :) >=20 >>=20 >> But this seems rather "imperative" and is not what I expected to do, >> after spending many weeks trying home-manager from NixOS :-) >>=20 >> excerpt from .config/nixpkgs/home.nix >> ... >> programs.neovim =3D { >> enable =3D true; >> plugins =3D [ >> pkgs.vimPlugins.vim-airline >> pkgs.vimPlugins.vim-nix >> ]; >> ... >>=20 >> In the Nix world, I think people were not seeing much point of: >>=20 >> nix-env -i >>=20 >> which seems to be their equivalent of: >>=20 >> guix package --install=3D >>=20 >> As an alternative, 'home-manger' seemed popular. >>=20 >> Would you say the same for Guix as well? >=20 > I agree, this is very imperative, but since we don't have an equivalent of= the home manager (except for my channel which is not very popular because I= don't recommend it for everyday use), this the kind of thing we usually do.= >=20 > Actually, the most popular in guix is rather to set some *PATH environment= variable, sometimes even patching the software to honor them. But we don't h= ave any for neovim. >=20 > The equivalent of your home.nix example would be: >=20 > (user-home > neovim-home-type > (neovim-confiquration > (plugins (list neovim-airline neovim-nix)))) >=20 > (Assuming we actually have these packages) >=20 > The guix home manager follows the spirit of functionnal management closer t= han the nix home manager, because itqmakes your entire home a symlink to a s= tore path, whereas nix home only overwrites some files that can later be mod= ified imperatively (by you or a software). That makes it harder to use and b= reaks many software, but is much more satisfying :) >=20 >>=20 >> -Yasu >>=20 >>=20 >>=20 >>> On 19.09.2020 23:40, Julien Lepiller wrote: >>> If you install plugins in your profile, you can add: >>>=20 >>> set runpath+=3D/home/user/.guix-profile/share/nvim/site >>>=20 >>> In your .config/nvem/init.vim >>>=20 >>> I also have a guix-home-manager at >>> https://framagit.org/tyreunom/guix-home-manager but it's more >>> involved. >>>=20 >>> Le 19 septembre 2020 10:04:45 GMT-04:00, Yasuaki Kudo >>> a =C3=A9crit : >>>=20 >>>> 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. >>>>=20 >>>> In NixOS I just used "home manager" and modified some existing >>>> template I found to add more plugins.