🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.vi
Article #343

Re: 編集中のテキストを渡すには

#343
From: Hirofumi Nishizuka
Date: Tue, 12 Oct 1999 00:00
23 lines
1642 bytes
西塚@Elvis使いです。

On Mon, 11 Oct 1999, Tanaka-Qtaro-Yasuhiro wrote:

>あと“バッファ”というのは ya とかでコピーした
>中身のことを言いたかったのです。
>(WinやMacで言うところのクリップボードに近い?)
>
>この“バッファ”を渡すことはできないでしょうか?

elvis-2.1 では、カットバッファも普通のバッファと同じように編集
できますので、以下のような手順で可能です。

1. :'a,.y a 等として、名前付きバッファにテキストをコピーする。
2. :(Elvis cut buffer a)spl として、カットバッファ a を開く。
3. Cut buffer a の内容を編集する(:%!command 等)。

但し、Cut buffer 内では Undo できないようですので、編集には注
意が必要です。

-- 
  西塚 博文 (NEC中研)
nishi@rpts.cl.nec.co.jp
Technical Details
Message-ID: <Pine.LNX.3.96LJ1.1R12.991012103938.574A-100000@elf.rpts.cl.nec.co.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <tanaq-1010990121490001@nikkel.tanaq.lo.jp> <7to7fm$mdj$1@news.kt.rim.or.jp> <tanaq-1110990213170001@nikkel.tanaq.lo.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: f7c9f,bd922d7d11491e26
X-Google-Attributes: gidf7c9f,public
From: Hirofumi Nishizuka <nishi@rpts.cl.nec.co.jp>
Subject: Re: 編集中のテキストを渡すには
Date: 1999/10/12
Message-ID: <Pine.LNX.3.96LJ1.1R12.991012103938.574A-100000@elf.rpts.cl.nec.co.jp>
X-Deja-AN: 535635730
References: <tanaq-1010990121490001@nikkel.tanaq.lo.jp> <7to7fm$mdj$1@news.kt.rim.or.jp> <tanaq-1110990213170001@nikkel.tanaq.lo.jp>
Content-Type: TEXT/PLAIN; charset=ISO-2022-JP
X-Complaints-To: usenet@rpts-gw.rpts.cl.nec.co.jp
X-Trace: rpts-gw.rpts.cl.nec.co.jp 939693225 2118 133.207.224.200 (12 Oct 1999 01:53:45 GMT)
Organization: NEC Corporation
Mime-Version: 1.0
NNTP-Posting-Date: 12 Oct 1999 01:53:45 GMT
Newsgroups: fj.editor.vi