Skip to main content

Set default editor

How to set the default editor

If you use the command "kubectl edit" you may not want to use vi as editor, so you can expose your preferred editor with a normal environment variable expose.

expose EDITOR=<your prefered editor>
# Example
expose EDITOR=vim