Closed boechat107 closed 10 years ago
The command should be <Plug>clj_repl_uphist.
(note the period &
<Plug>
). Can you try :call redl#repl#up_history()
or :call redl#repl#down_history
to see whether the underlying functions work? Then
we can tell if it's a bug in the mapping, or in the actual history code.
On Thu, Jan 23, 2014 at 7:22 AM, Andre Ambrosio Boechat < notifications@github.com> wrote:
Using :verbose imap
I see that the command seems correctly set to call clj_repl_uphist, but when I try it, the Repl just comes to the normal mode, like pressing Esc. All other functionalities are working very well, like evaluating with . — Reply to this email directly or view it on GitHubhttps://github.com/dgrnbrg/vim-redl/issues/23 .
Yes, I forgot to say that calling the function manually works perfectly.
Hmm. I suspect the issue is somehow with the way you've set up your mappings. Could you try mapping the command another way, to see if its the built-in plug mapping, or something else?
On Fri, Jan 24, 2014 at 8:11 AM, Andre Ambrosio Boechat < notifications@github.com> wrote:
Yes, I forgot to say that calling the function manually works perfectly.
— Reply to this email directly or view it on GitHubhttps://github.com/dgrnbrg/vim-redl/issues/23#issuecomment-33221318 .
Yes, it is true, it seems to be a mapping problem. But the weird thing is that verbose imap <c-up>
was giving me the right function, just like my new mapping. Anyway, just changing the keys solved the problem.
Thanks!
Using
:verbose imap <c-up>
I see that the command seems correctly set to callclj_repl_uphist
, but when I try it, the Repl just comes to the normal mode, like pressingEsc
. All other functionalities are working very well, like evaluating with<c-e>
.