Groups | Search | Server Info | Login | Register
Groups > comp.editors > #106858
| From | Rene Kita <mail@rkta.de> |
|---|---|
| Newsgroups | comp.editors |
| Subject | Re: Vi: is there any way not to yank text I'm deleting? |
| Date | 2026-02-16 21:43 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <10n031b$18euo$1@dont-email.me> (permalink) |
| References | <10n027u$187f4$1@dont-email.me> |
swapjim <swapjim@example.org> 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. It's totally normal and desired by most users, I guess. Use "_dd and similar to not put the deleted text in a register. See :h "_
Back to comp.editors | Previous | Next — Previous in thread | Next in thread | Find similar
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