Jacky Liu wrote:

> I'm talking about the input mode. I'm using these key mappings to move the 
> cursor under the input mode:
> 
> inoremap  <M-i>  <Up>
> inoremap  <M-k>  <Down>
> inoremap  <M-j>  <Left>
> inoremap  <M-l>  <Right>
> inoremap  <M-u>  <C-Left>
> inoremap  <M-o>  <C-Right>
> 
> These mappings work perfectly with 8.1, They just move the cursor and don't 
> change the text. To my surprise, If you press the arrow keys under the input 
> mode, Then vim would interpret them as the escape-leading sequences and 
> resulting in the text being changed.
> 
> Now with 8.2 vim would always interpret the arrow keys as the escape-leading 
> sequences. I think if it's possible to avoid such behaviour with key mappings 
> (like with 8.1), It surely would be preferable.

Please check out ":help modifyOtherkeys".  You may have to use something
else thatn <M-x>, perhaps <M-S-x>.  If you can't figure it out, you can
disable modifyOtherkeys and see if it works then.

-- 
"Hit any key to continue" it said, but nothing happened after F sharp.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/202003031152.023BqKQW008024%40masaka.moolenaar.net.

Reply via email to