Friday, June 22, 2012

Utf-8 and CR mapping

Hello.
I have a couple of keymaps using <CR>:
nmap <silent> <C-M-CR> o<Esc>
nmap <silent> <M-S-CR> O<Esc>

My problem is that recently I begin to use utf-8 encoding, I set it using:
set encoding=utf-8

And then this brokes by previous mapping, instead of being mapped to
CR I got some funny characters:
<S-Â>< >
<C-Â>< >

Is there any way to map something to <C-M-CR> using utf-8?

Thanks.


--
Un saludo
Best Regards
Pablo Giménez

--
You received this message from the "vim_use" 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

No comments: