Quantcast

keycode string of arrow keys don't work in command-line expression

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

keycode string of arrow keys don't work in command-line expression

Jacky Liu
I found that when typing in the command line, using ^R= followed by a string of keycode "\<C-Left>" or "\<C-Right>" is not working as expected. Instead of bringing the cursor to the beginning/end of the current word, they resulted in strings like this:
        :MyCommand<80>├ŻU
after typing :MyCommand followed by ^R= and then "\<C-Right>"

Keycodes other than the arrow keys, like "\<C-w>" and "\<C-e>" works properly in the command line expression.

I like to use these keycodes in some custom key-mapping, is there any way to work around this? The version is 8.0.540

--
--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...