Groups | Search | Server Info | Login | Register


Groups > comp.editors > #106865

Re: Vi: is there any way not to yank text I'm deleting?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From Jason H <jason_hindle@yahoo.com>
Newsgroups comp.editors
Subject Re: Vi: is there any way not to yank text I'm deleting?
Date Tue, 17 Feb 2026 22:42:24 -0000 (UTC)
Organization A noiseless patient Spider
Lines 20
Message-ID <10n2qsg$2608v$1@dont-email.me> (permalink)
References <10n027u$187f4$1@dont-email.me>
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Tue, 17 Feb 2026 22:42:25 +0000 (UTC)
Injection-Info dont-email.me; posting-host="52a3c7bda98c8cbcaafba409f294a9fd"; logging-data="2294047"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18uFUSbNOLSeeHney2fZIvtU9J4xa/BNNI="
User-Agent PhoNews/3.13.3 (Android/16)
Cancel-Lock sha1:MPj74SLGKtivxdAq6pX0eQFFovo=
In-Reply-To <10n027u$187f4$1@dont-email.me>
Xref csiph.com comp.editors:106865

Show key headers only | View raw


On 16/02/2026 21:29, swapjim wrote:
>I'm using GVim 9.1 on Windows to learn traditional Vi by setting 'set 
>compatible' in the vimrc file.
>
>I then select some text using 'v' and delete it using x. However, this 
>also copies the text (yanks it). Same thing happens when I try to delete 
>a few lines with 10dd or 10dw.
>
>Is this normal behavior? If yes, is there a way to not to yank the text 
>I'm deleting?
>
>Is this perhaps Vim behavior? The Vi bundled with BusyBox that runs on 
>my router also yanks text it deletes.

If it's to avoid yanking data you're putting over, shift-P should do the
 trick. 

-- 
--
A PICKER OF UNCONSIDERED TRIFLES

Back to comp.editors | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Vi: is there any way not to yank text I'm deleting? swapjim <swapjim@example.org> - 2026-02-16 23:29 +0200
  Re: Vi: is there any way not to yank text I'm deleting? Rene Kita <mail@rkta.de> - 2026-02-16 21:43 +0000
    Re: Vi: is there any way not to yank text I'm deleting? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-02-16 23:28 +0100
      Re: Vi: is there any way not to yank text I'm deleting? Rene Kita <mail@rkta.de> - 2026-02-17 07:42 +0000
      Re: Vi: is there any way not to yank text I'm deleting? Anthony Howe <achowe@snert.com> - 2026-02-17 05:53 -0500
        Re: Vi: is there any way not to yank text I'm deleting? gazelle@shell.xmission.com (Kenny McCormack) - 2026-02-17 14:08 +0000
          Re: Vi: is there any way not to yank text I'm deleting? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-02-17 17:41 +0100
  Re: Vi: is there any way not to yank text I'm deleting? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-02-16 23:20 +0100
  Re: Vi: is there any way not to yank text I'm deleting? Jason H <jason_hindle@yahoo.com> - 2026-02-17 22:42 +0000
    Re: Vi: is there any way not to yank text I'm deleting? Jason H <jason_hindle@yahoo.com> - 2026-02-17 22:49 +0000
  Re: Vi: is there any way not to yank text I'm deleting? Geoff Clare <geoff@clare.See-My-Signature.invalid> - 2026-02-18 13:34 +0000

csiph-web