tagalong.vim
tagalong.vim copied to clipboard
Selecting text, yanking and pasting it results in wrong inserted text
When I attempt to move text by selecting in visual mode, yanking, and then pasting somewhere else in the file, "Mq" is printed instead of the yanked text.
Does this happen when you open an HTML file and immediately yank, or does it happen after some other action? Could you try putting this in your vimrc and checking if the issue continues to happen?
let g:tagalong_mappings = ['c', 'C', 'i', 'a']
This configuration makes sure that tagalong doesn't override the v key at all -- it might be related to that.
Thanks! Adding that line fixed it for me. Great plugin btw.
Great plugin btw.
Thanks, appreciate it :).
I'd like to figure out what the problem is, though -- that setting only disables the v mapping of the plugin. Ideally, I'd like to know what was wrong and fix it. Could you share your Vim version and config?
I can confirm this is also happening to me in xml files, and above fix works. Not sure if it will be helpful for you, but here's my config repo: https://github.com/kristijanhusak/neovim-config