From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 20 15:28:15 2020 Received: (at 43539) by debbugs.gnu.org; 20 Sep 2020 19:28:15 +0000 Received: from localhost ([127.0.0.1]:52684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK50R-0005f5-17 for submit@debbugs.gnu.org; Sun, 20 Sep 2020 15:28:15 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK50P-0005eq-J8 for 43539@debbugs.gnu.org; Sun, 20 Sep 2020 15:28:13 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1600630087; cv=none; d=zohomail.com; s=zohoarc; b=fK1BAC2cfS7wqpDgsDiuO/RaUE8QhjZ01BMzTAKSv6i6MrKTfWHbuJRMn94rmCYhDD8/TJsrwkHdUsZerKgHFGFYiH3J+zqy7cIB/QZlu4fzXk2Yp+s705QP0xutP9kLjJ2/rI7LwWPZR2CzRvWGP/wd3IF7oBgfDiNnug0gE0Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600630087; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=H4LVjSPPZUR7SyvcYW3Y4pExjPk8CUZ+33KXxtCc0wE=; b=bkerxLyaG7Slwys0ZQMhJ1hqGjO2U1tWh9sqL01/MtZfHtd562x4eJAo0CVEJueZtLsfYfMv22wwNOUg59glu8VuZkzRHwYeOzoT+2k99inkIP0kkZkoqMN24R3Cyv9v/pCnHI1BUPthl266SgZUg7kbtPJKBSbVci+Wdl1eDTM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600630087; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; bh=H4LVjSPPZUR7SyvcYW3Y4pExjPk8CUZ+33KXxtCc0wE=; b=H1Zx8gZDrcsBKRiI7HybjwFCCPe60WxZvrVMTthYsxsrz+QIssUkLcBEsCxDZKjy Hhx1YlSdl65WgNFMA2ihJmlNea+/EiD6iJiTRcZmTZ+pj9niEzoZk5KLnnsHFnzCT/O 6rZScB7b2GB8Uji34k/ieu5GIgaoo505I283br2Y= Received: from localhost (p54ad419e.dip0.t-ipconnect.de [84.173.65.158]) by mx.zohomail.com with SMTPS id 1600630085096470.86193306549194; Sun, 20 Sep 2020 12:28:05 -0700 (PDT) References: <20200920191523.6871-1-efraim@flashner.co.il> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Efraim Flashner Subject: Re: [bug#43539] [PATCH] gnu: vim: Automatically find vim plugins. In-reply-to: <20200920191523.6871-1-efraim@flashner.co.il> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 20 Sep 2020 21:29:27 +0200 Message-ID: <87bli0tffs.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 43539 Cc: guix-patches@gnu.org, 43539@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Efraim Flashner writes: > diff --git a/gnu/packages/aux-files/guix.vim b/gnu/packages/aux-files/guix.vim > new file mode 100644 > index 0000000000..ca97f451d8 > --- /dev/null > +++ b/gnu/packages/aux-files/guix.vim > @@ -0,0 +1,7 @@ > +" This appends all of the vim plugins to the end of Vim's runtimepath. > +for directory in ["/run/current-system/profile", $HOME . "/.guix-profile", $GUIX_ENVIRONMENT] How about using $GUIX_PROFILE as well or instead of $HOME/.guix-profile? This would allow users to keep a separate profile for Vim things. -- Ricardo