Open jgarte opened 11 months ago
With the same hooks, you can use (setq mode-line-format nil)
Makes sense. Thanks for sharing that knowledge. Closing this issue.
Should this be mentioned in the README somewhere?
The reason I am suggesting this is because following the configuration recommendations in the README I ended up with two mode lines as shown above. I then went wondering how to disable the default mode line and came here.
Does using nano-modeline imply that the user will know to (setq mode-line-format nil)
before enabling the package?
You're right actually, it couldm be mentioned in the README. Do you want to make a PR?
Sure, but now this got me thinking on why it doesn't disable the default modeline when you enable the nano-modeline
?
IIRC I haven't had to do this with other mode line packages. Correct me if I am wrong here.
I'm actually not sure so maybe it is safe to disable header or mode line depending on where the nano modeline is. Best would probably to have a custom settings telling nano-modeline to disable mode/header line when in use.
Hi, thanks for the reply.
Can you elaborate on why it is not safe? I don't think I am understanding that part.
If you use nano-modeline as a replacement for the regular mode-line and if I set header-line to nil, then it might be problematic if you were using the header line. There are a few packages that use the header line for this or that (for example list packages) such that I don't know if it is safe to disable it.
Hi,
How do you recommend disabling the default modeline?
This is what is in my config: