代码之家  ›  专栏  ›  技术社区  ›  ralonr

当上下文已经设置好时,如何在K9中的上下文之间切换?

  •  0
  • ralonr  · 技术社区  · 2 年前

    PROD 上下文,我想将上下文更改为 NONPROD

    我如何使用快捷方式来实现这一点?

    1 回复  |  直到 2 年前
        1
  •  1
  •   blacktide Gaurav    2 年前

    您可以通过键入来切换到另一个上下文 :ctx <context-name> .例如:

    # Switch to the PROD context
    :ctx PROD
    
    # Switch to the NONPROD context
    :ctx NONPROD
    

    here .