If I try to map capital 'Y' in my vimrc, this is getting ignored. For example, if I put something like
nmap Y :w<CR>
in my vimrc, this has no effect. However if I run vim and I enter
:nmap Y :w<CR>
then the mapping works as expected.
I tried an empty vimrc with only this line, so I'm sure there's no other mapping interfering or something.
Why does this happen?