Re: What's the motion-state keymap priority (under info mode) ?
On 10.03.2016 07:19, Shiyao Ma wrote: > Thanks for your help. > > Now I enconter a new problem, > > for the key `l', it should be Info-history-back > however, it's now evil-forward-char Of course. That's because you usually want cursor motions to behave vim-like, i.e. h, j, k, l move the cursor. This is done by a call to `evil-add-hjkl-bindings` in evil-integration.el (and, in fact, those four keys are the only ones). At the same time Ctrl-t and Ctrl-o are both bound to `Info-history-back`, so you might use them instead. Best regards, Frank ___ implementations-list mailing list implementations-list@lists.ourproject.org https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
Re: What's the motion-state keymap priority (under info mode) ?
Thanks for your help. Now I enconter a new problem, for the key `l', it should be Info-history-back however, it's now evil-forward-char This seems contradictory to the 'overriding map stuff'. Regards. ___ implementations-list mailing list implementations-list@lists.ourproject.org https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
Re: What's the motion-state keymap priority (under info mode) ?
> the evil-motion-state-map should have a higer priority than the major > mode (info mode) keymap. > > However, when in info mode, I found "gg" is falls into the > info-mode-map, not the evil-motion-state-map. That's because `Info-mode-map` is by default listed in the user option `evil-overriding-maps` (`M-x customize-variable RET evil-overriding-maps RET`). The reason is that otherwise many useful keys would be hidden by rarely used motions. Frank ___ implementations-list mailing list implementations-list@lists.ourproject.org https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list