Navigation in info mode broken
Following commands in info mode are not working for me anymore: [ Go backward one node, considering all nodes as forming one sequence. ] Go forward one node, considering all nodes as forming one sequence. When i press [ emacs just wiats for next key press. -- http://antono.info/ http://github.com/antono
On Wed, Jan 18, 2012 at 7:13 AM, Antono Vasiljev <[email protected]> wrote:
Following commands in info mode are not working for me anymore:
[ Go backward one node, considering all nodes as forming one sequence. ] Go forward one node, considering all nodes as forming one sequence.
When i press [ emacs just wiats for next key press.
It might help to force info to start in emacs-state by default (evil-set-initial-state 'Info-mode 'emacs) Since info makes such heavy use of bindings that don't start with C- or M-, I found this to be a better solution. I just added a binding for '/' to do evil-search-forward. --Leo
On 2012-01-18 14:13 +0100, Antono Vasiljev wrote:
Following commands in info mode are not working for me anymore:
[ Go backward one node, considering all nodes as forming one sequence. ] Go forward one node, considering all nodes as forming one sequence.
Fixed in commit f64e2d0. Info's bindings now have precedence over Evil's, with the exception of "h"/"j"/"k"/"l". -- Vegard
Fixed in commit f64e2d0. Info's bindings now have precedence over Evil's, with the exception of "h"/"j"/"k"/"l".
But I'm having problem with this now. Since I never had a need to move cursor left and right in info-mode (I doubt if there is such a need for others as well), I bind "h" and "l" to something else. But now the binging in `evil-declare-key' (used by `evil-add-hjkl-bindings') always happens after my bindings. In other words, I can't rebind them to my stuff anymore, more specifically, here is my code in .emacs: (eval-after-load 'info '(progn (evil-define-key 'motion Info-mode-map "\t" 'Info-next-reference "n" 'Info-history-back "/" 'Info-history-forward "l" 'Info-top-node "d" 'Info-directory "y" 'evil-yank))) But it no longer works, because the one in 'evil-integration.el' always happens after my code. Is there any way to keep my bindings after the one in "evil-integration.el" ? Thanks, York
On 01/19/2012 06:06 PM, Vegard Øye wrote:
Following commands in info mode are not working for me anymore:
[ Go backward one node, considering all nodes as forming one sequence. ] Go forward one node, considering all nodes as forming one sequence.
Fixed in commit f64e2d0. Info's bindings now have precedence over Evil's, with the exception of "h"/"j"/"k"/"l".
Thank you Vergard!
participants (4)
-
Antono Vasiljev -
Leo Alekseyev -
Vegard Øye -
York Zhao