Thursday, January 12, 2023

Re: Yanking doesn't yank

On 2023-01-12 14:57, 'Ottavio Caruso' via vim_use wrote:
> Then I press 'y'. If then I move the cursor down, it will still
> continue to highlight the following text
[snip]
> I wonder why it will keep on selecting text after pressing 'y'.
[snip]
> source $VIMRUNTIME/defaults.vim

If you take out this defaults.vim line, does the issue persist? or
if you start vim with no vimrc?

$ vim -u NONE myfile.txt

It sounds either like the defaults.vim is interfering (and I'd
consider it to be doing so in a bad way).

I know that FreeBSD made some unforunate local changes a while back
and just finally (within the last couple months) got it resolved
so their systemwide vimrc didn't force me to use the defaults.vim
which did weird (breaking expectations from previous versions)
things. So I don't know if your system's defaults.vim (or a system
vimrc) might be causing issues.

If that doesn't resolve matters, I'd be curious what mappings show
up in play when you experience the issue since this Shouldn't
Happen(tm) with stock vim.

-tim






--
--
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/Y8AqGAHvSr0ssCT0%40thechases.com.

No comments:

Post a Comment