I hate the <CR>, because when i hit it for mistake, it moves the cursor. So I disable it with: nmap <CR> <Nop> nmap <C-CR> <Nop> I was happy, when I discovered that cmd-window needed the <CR> mapped. So I fixed it with: au CmdwinEnter * nunmap <CR> au CmdwinLeave * nmap <CR> <Nop> Now I discovered that also quickfix-window need the <CR> mapped. But I cannot find the correct event/pat.
Any ideas? Thanks! Alberto