On Monday, January 21, 2013 5:57:19 AM UTC+13, Benoit Thomas wrote:
> no <C-D> :call SmoothScroll("\<C-E>")<CR>
The ctrl-e is being interpreted as it would on the command line, see
:help c_CTRL-E
Any of V, Q, B, H, W, R, J, C may give the same kind of trouble, as will Y "When there is a modeless selection".
I don't know why, but using "\x05" seems to avoid the problem for me, but I'm just echoing the argument to the function.
You might consider
no <expr> <C-D> SmoothScroll("\<C-E>")
but that works differently; what the function returns is important.
Regards, John Little
--
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
Sunday, January 20, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment