From 76e81e2f1248ed6648c49fcf9d5f4f3feded34f7 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 7 Aug 2012 06:42:34 +0200 Subject: [PATCH] Re: Vim plugins --- 4d/96234a49a4d2a3d8ecdaa6ef8b9438c90683cb | 97 +++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 4d/96234a49a4d2a3d8ecdaa6ef8b9438c90683cb diff --git a/4d/96234a49a4d2a3d8ecdaa6ef8b9438c90683cb b/4d/96234a49a4d2a3d8ecdaa6ef8b9438c90683cb new file mode 100644 index 000000000..ba709f1f8 --- /dev/null +++ b/4d/96234a49a4d2a3d8ecdaa6ef8b9438c90683cb @@ -0,0 +1,97 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 712E7431FAF + for ; Mon, 6 Aug 2012 21:42:40 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id RFfByShI5zu8 for ; + Mon, 6 Aug 2012 21:42:38 -0700 (PDT) +Received: from lain.khirnov.net (lain.khirnov.net [176.97.15.12]) + by olra.theworths.org (Postfix) with ESMTP id 86EE0431FAE + for ; Mon, 6 Aug 2012 21:42:38 -0700 (PDT) +Received: from localhost (localhost [127.0.0.1]) + by lain.khirnov.net (Postfix) with ESMTP id 4DE85C2C49; + Tue, 7 Aug 2012 06:42:36 +0200 (CEST) +Received: from lain.khirnov.net ([127.0.0.1]) + by localhost (mail.khirnov.net [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id cmAWUVfuPyLT; Tue, 7 Aug 2012 06:42:34 +0200 (CEST) +Received: from daenerys.khirnov.net (unknown + [IPv6:2002:b061:f0a:1:52e5:49ff:fe3d:a3f2]) + by lain.khirnov.net (Postfix) with ESMTP id 95B1CC15A7; + Tue, 7 Aug 2012 06:42:34 +0200 (CEST) +Received: from daenerys.khirnov.net (localhost [127.0.0.1]) + by daenerys.khirnov.net (Postfix) with ESMTP id 57241120BF1; + Tue, 7 Aug 2012 06:42:34 +0200 (CEST) +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: quoted-printable +User-Agent: notmuch-vimpy +Message-ID: <20120807044234.29222.72622@daenerys.khirnov.net> +Date: Tue, 07 Aug 2012 06:42:34 +0200 +References: <1344174764.11525.YahooMailNeo@web171404.mail.ir2.yahoo.com> + <20120806161738.7080.82028@daenerys.khirnov.net> + <1344292148.78234.YahooMailNeo@web171405.mail.ir2.yahoo.com> +To: Sepp Tannhuber , + "notmuch@notmuchmail.org" +In-Reply-To: <1344292148.78234.YahooMailNeo@web171405.mail.ir2.yahoo.com> +From: Anton Khirnov +Subject: Re: Vim plugins +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Tue, 07 Aug 2012 04:42:40 -0000 + + +On Mon, 6 Aug 2012 23:29:08 +0100 (BST), Sepp Tannhuber wrote: +> Hi Anton, +> = + +> thanks for answering. Finally I found it. My next problem is that I have = +absolutely no idea how to use it. +> I followed the instructions I have found in this mailing list and copied = +the syntax files into my ~/.vim/syntax +> and the two plugin files=C2=A0into my ~/.vim/plugin folders. +> = + +> Then I called +> =C2=A0 =C2=A0 vi -c 'NMVimpy()' +> The result is +> =C2=A0 =C2=A0 E492: Not an editor command: NMVimpy() +> = + +> I tried +> =C2=A0 =C2=A0 vi -c ':nm_vimpy()' +> as well. And vi answers +> =C2=A0 =C2=A0 No mapping found +> = + + +I invoke it as vim -c :NMVimpy + +> Is there a README file or any other kind of documentation for your script? +> = + + +I wish. Patches welcome ;) + +-- = + +Anton Khirnov -- 2.26.2