-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Info reading experience #2828
Comments
Yep, this is one of those cases where the modal keys defined by info-mode and evil really clash, and it's unclear which is the best way to reconcile them. FWIW, I think that I actually think the modal keys of info-mode are well thought out, and prefer just learning them and minimizing vi keys, but others may disagree. Just getting used to emacs keys isn't bad (i.e. |
In my experience I always switch to Holy when browsing Info files. Maybe there could be some sort of warning for the user that in this mode Evil isn't "supported"? Like a red-something in the modeline? |
@felipe-barros yeah, just going to holy-mode and doing it the emacs way does seem more "pure" and edge-case free, for things like info-mode or magit. But the vinegar layer here, for example, is a case of evil integration done right, imo. |
@sooheon although after switching to Spacemacs from Vim I see myself more and more inclined to using regular Emacs keybindings everywhere and Vim only for text editing (using Hybrid for now) I'm not against Evil integration at all. But I agree with you that with Magit/Info, default means better, at least for now. I hope it changes somewhere in the future, but for now, I think the only thing missing is a nice warning "hey, this is unexplored land, be careful and if you need help, press h for emacs intro" or something :) |
What about not evilifying Info-mode at all? I would like to have it modal. In-buffer navigation and visual-mode selections is most comfortable in the normal state. Navigating the Info hierarchy can be done effectively with the standard info-mode keybindings. There was probably some clashes between info-mode and the insert-state, so maybe emacs-state should be used instead of insert state. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Spacemacs lacks a keybinding alternative to the most natural way of scrolling Info pages (i.e. SPC) in vanilla emacs. Anyway, this commit adds J/K to scroll most naturally through info pages. Currently, in Info-mode, a keybinding for J is not defined while K is bound to evil-lookup. Issue syl20bnr#2828 already adresses the inconsistent experience, and in my opinion this can and should be improved as navigating Info pages is a very crucial part of using Emacs. Personally I have bound J/K to scroll page up/down in buffers/pdf/djvu/doc-view, which I inherited from using the zathura pdf reader, and I think this is a better default than the default vim alternatives.
Spacemacs lacks a keybinding alternative to the most natural way of scrolling Info pages (i.e. SPC) in vanilla emacs. Anyway, this commit adds J/K to scroll most naturally through info pages. Currently, in Info-mode, a keybinding for J is not defined while K is bound to evil-lookup. Issue syl20bnr#2828 already adresses the inconsistent experience, and in my opinion this can and should be improved as navigating Info pages is a very crucial part of using Emacs. Personally I have bound J/K to scroll page up/down in buffers/pdf/djvu/doc-view, which I inherited from using the zathura pdf reader, and I think this is a better default than the default vim alternatives.
Spacemacs lacks a keybinding alternative to the most natural way of scrolling Info pages (i.e. SPC) in vanilla emacs. Anyway, this commit adds J/K to scroll most naturally through info pages. Currently, in Info-mode, a keybinding for J is not defined while K is bound to evil-lookup. Issue #2828 already adresses the inconsistent experience, and in my opinion this can and should be improved as navigating Info pages is a very crucial part of using Emacs. Personally I have bound J/K to scroll page up/down in buffers/pdf/djvu/doc-view, which I inherited from using the zathura pdf reader, and I think this is a better default than the default vim alternatives.
Spacemacs lacks a keybinding alternative to the most natural way of scrolling Info pages (i.e. SPC) in vanilla emacs. Anyway, this commit adds J/K to scroll most naturally through info pages. Currently, in Info-mode, a keybinding for J is not defined while K is bound to evil-lookup. Issue syl20bnr#2828 already adresses the inconsistent experience, and in my opinion this can and should be improved as navigating Info pages is a very crucial part of using Emacs. Personally I have bound J/K to scroll page up/down in buffers/pdf/djvu/doc-view, which I inherited from using the zathura pdf reader, and I think this is a better default than the default vim alternatives.
Spacemacs lacks a keybinding alternative to the most natural way of scrolling Info pages (i.e. SPC) in vanilla emacs. Anyway, this commit adds J/K to scroll most naturally through info pages. Currently, in Info-mode, a keybinding for J is not defined while K is bound to evil-lookup. Issue syl20bnr#2828 already adresses the inconsistent experience, and in my opinion this can and should be improved as navigating Info pages is a very crucial part of using Emacs. Personally I have bound J/K to scroll page up/down in buffers/pdf/djvu/doc-view, which I inherited from using the zathura pdf reader, and I think this is a better default than the default vim alternatives.
Spacemacs lacks a keybinding alternative to the most natural way of scrolling Info pages (i.e. SPC) in vanilla emacs. Anyway, this commit adds J/K to scroll most naturally through info pages. Currently, in Info-mode, a keybinding for J is not defined while K is bound to evil-lookup. Issue syl20bnr#2828 already adresses the inconsistent experience, and in my opinion this can and should be improved as navigating Info pages is a very crucial part of using Emacs. Personally I have bound J/K to scroll page up/down in buffers/pdf/djvu/doc-view, which I inherited from using the zathura pdf reader, and I think this is a better default than the default vim alternatives.
Spacemacs lacks a keybinding alternative to the most natural way of scrolling Info pages (i.e. SPC) in vanilla emacs. Anyway, this commit adds J/K to scroll most naturally through info pages. Currently, in Info-mode, a keybinding for J is not defined while K is bound to evil-lookup. Issue syl20bnr#2828 already adresses the inconsistent experience, and in my opinion this can and should be improved as navigating Info pages is a very crucial part of using Emacs. Personally I have bound J/K to scroll page up/down in buffers/pdf/djvu/doc-view, which I inherited from using the zathura pdf reader, and I think this is a better default than the default vim alternatives.
I'm aware of #902, but using Info mode in Spacemacs is still a PITA. For example:
l
to go back to the last node I was at.b
goes to beginning of node instead of the beginning of the previous word, and I can't useg g
to go to the first line (of the node).v
.n
doesn't repeat the last search.The text was updated successfully, but these errors were encountered: