Closed jinnovation closed 5 months ago
@seagle0128 ready for your review again
Well done! Thank you very much.
BTW, I see the name may be long in the screenshots. I think it's better considering the width limit. Please see doom-modeline--segment-visible
and doom-modeline-always-visible-segments
.
Great point, expect a follow-up PR soon (:
On Fri, Apr 12, 2024, at 22:52, Vincent Zhang wrote:
Well done! Thank you very much.
BTW, I see the name may be long in the screenshot. I think it's better considering the width limit. Please see.
doom-modeline--segment-visible
anddoom-modeline-always-visible-segments
.— Reply to this email directly, view it on GitHub https://github.com/seagle0128/doom-modeline/pull/715#issuecomment-2053086381, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOX2IZEV2YKCCRGHFZYIQ3Y5CMXDAVCNFSM6AAAAABGCIEJ2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJTGA4DMMZYGE. You are receiving this because you authored the thread.Message ID: @.***>
This PR adds a segment for displaying the currently active Kubectl context and, optionally, the selected default namespace. It sources this information via
kele.el
, which handles config loading and refreshing.We also hook up the menu map (introduced in jinnovation/kele.el#167 and jinnovation/kele.el#169) to allow users to perform basic Kubernetes management tasks via cursor, e.g. switching contexts/namespaces, starting/stopping proxy servers, etc.