For more than a year, I have unmap <C-X> in my .vimrc because I can't figure out where this mapping comes from.
I used verbose map <C-X> as suggested in another topic, it returns
v <C-X> "*d
and I don't know what that means. There is nothing that maps <C-X> to anything in my .vimrc, yet that unmap command doesn't even give an error, which means it's mapped somehow.
<BS>in visual mode mapped to"-d– D. Ben Knoble Mar 18 '20 at 15:24:20verbose map <C-x>help? Otherwise try starting Vim asvim -V20logand searching thelogfile for<c-x>. – Martin Tournoij Mar 20 '20 at 09:38:20verbose map <C-X>result is same asverbose map <C-X>in this case. Second method you suggested just opened an empty file. I should also note that my vim acts in same way on my secondary computer too(which uses same .vimrc). – KeyboardDestroyer Mar 20 '20 at 19:50-V[N]{fileame}doesn't work for older versions? See:help starting.txt. Otherwise you can always use: https://vi.stackexchange.com/q/2003/51 – Martin Tournoij Mar 24 '20 at 07:31:verb mapand the same when runninggvim -u NONE -U NONE -Nexcept the first is nowv <C-X> "*d.s <C-X> "*d v <C-Del> "*d v <S-Del> "*d v <C-Insert> "*y v <S-Insert> "-d"*P n <S-Insert> "*PDespiteverbosethe source is not listed. I've searched through all files in program dir and the only instance of these mappings is inmswin.vim. But according to the comments in the file it needs to be explicitly sourced, and:scriptnamesdoes not show the file being sourced. I logged via-u NONE -U NONE -N -V9log.txtand got nothing helped. I d – Tom Feb 25 '24 at 01:51