I have an answer: Thanks to a redditor (link to reddit thread here <https://www.reddit.com/r/vim/comments/gny5hq/question_about_mapping_cc_in_macvim/> ): bind <C-C> to something on its own before using it for anything else - e.g., I put nnoremap <C-c> :echo 1<Cr> before any bindings involving <C-C> and now it works on all my platforms, vim, gvim, macvim on Mac and crostini.
On Friday, 22 May 2020 07:31:35 UTC-4, Filippo Salustri wrote: > > I have this in my .vimrc: nnoremap <C-X><C-F> :edit<Space> and it works > fine. > > But this: nnoremap <C-X><C-C> :edit<Space> doesn't work. > It produces the message: Type :qa and press <Enter> to exit Vim > Even this: nnoremap <C-a><C-c> :echo 1<CR> produces the same message. > > The only difference is the <C-C>. > Every other binding I have works fine. None of them rebind <C-C>. > > I have looked everywhere I know, and I cannot find an explanation. > Can someone help me diagnose this? > -- -- You received this message from the "vim_mac" 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_mac" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_mac/65aff26d-38e5-4f82-9e11-93edfc96652d%40googlegroups.com.