On Wed, Jul 05, 2023 at 04:23:54PM -0400, Eric Marceau wrote:
> Currently using
>
> VIM version 8.1.3741
> on Ubuntu MATE (Linux 5.4.0-150-generic #167-Ubuntu)
>
> When I /copy+paste/ text using the system cursor,
>
> regardless of whether that text is from another non-Vim
> window, or from the text file currently in the Vim window,
>
> if the text string being inserted is a combination of
> */typed-input/* and /*copy+paste*/, the Vim's "." (repeat operator)
> seems to ignore the /copy+paste/ text and will *only* repeat
> that portion of the entry which was /directly-typed at the //
> //keyboard/ (i.e. xyz{cut+paste_text}<return>abc )!!!
>
> Is that behaviour controlled by a modifiable Vim parameter
> which can be set to allow both inputs to be captured as
> a *single operation for full repeat*?
Cutting and copying tekst places the text in a register -- the '0
register'. The paste command places the contence of that register where pasted.
The pasting can be repeated with the dot-command, it pastes the same
text from the dot-register.
Since the dot-command only repeats the last command, it kan only repeat
the pasting. Copying another word overwrites the buffer the text is
copied into.
You could make a small macro to combine commands you want and use that.
Vim has several registers that you can use to copy text into and only
call that register to paste the text. The working is great but can be
overwhelming to learn. See `help: registers`.
//meine
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ZKZwbr3t1NlH-399%40trackstand.
No comments:
Post a Comment