-
Notifications
You must be signed in to change notification settings - Fork 57
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
permanently disable navigation mode #40
Comments
Hi jamienicol, Thank you for the report. The point of the navigation mode is allowing a few keys in the compilation mode directly accessible without moving to the compilation buffer i.e. ggtags-global. Are you manually switching to that buffer to choose matches? In this case the navigation mode might be annoying indeed. Let me know you workflow so that we can fix it to accommodate more use patterns. Cheers, |
Hi! thanks for the response. my workflow is something like this:
It may well be possible for navigation mode to be adapted to suit my workflow, but I'd still have a concern that navigating ggtag matches is different than navigating grep matches. For me they are conceptually two very similar tasks, I'm not sure my wee brain can handle navigating them differently. Cheers. |
Hi jamienicol, You can now disable the navigation key bindings by setting Leo |
It works perfectly! Thank you so much. Jamie |
One wee thing I've noticed actually: With my workflow there's no specific point at which I exit navigation-mode. Enter now does what it does in regular compilation mode, so I'll probably just switch away from the results buffer at some point rather than press enter to explicitly exit it. This leaves navigation-mode enabled indefinitely. The only side-effect I've encountered of this is that the "GG[x/y]" remains in my modeline forever. To be honest, I don't ever find this useful at all and it just takes up space in my modeline, even more so when I've finish searching through the results. Is there any way to hide this? Out of interest is there a reason why you chose an option to disable the keys, rather than an option to simply not enable navigation mode at all? Are there any other side-effects of navigation mode, other than the keys and the modeline? |
If you kill the ggtags-global buffer the mode is off. Or you can turn it off completely by using this snippet: (eval-after-load 'ggtags
'(defalias 'ggtags-navigation-mode 'ignore)) |
perfect. thank you for being so helpful and thanks again for ggtags, it's
|
Glad to help and thanks for the feedback. |
to control ggtags-navigation-map. Using ggtags-navigation-mode is unsafe because it is used more than controlling ggtags-navigation-map. Affect #40: ggtags-suppress-navigation-keys is removed; use ggtags-enable-navigation-keys instead.
The lighter can now be disabled by setting |
I'm used to, and completely happy with, the regular grep/compilation mode keybindings. Is there any way to disable navigation mode from being turned on?
Great package by the way, thanks!
The text was updated successfully, but these errors were encountered: