Skip to content
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

Fix K9S_EDITOR #3043

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

placintaalexandru
Copy link
Contributor

@placintaalexandru placintaalexandru commented Dec 26, 2024

Fixes #2820

If K9S_EDITOR is not set, then kubectl edit behavior is maintained: look for $KUBE_EDITOR and then fall back to $EDITOR

Tested with:

  • vim
  • neovim
  • nano
  • vscode (at least -w option is required:export K9S_EDITOR="code -w")

@placintaalexandru placintaalexandru force-pushed the fix/K9S_EDITOR-env-var-for-custom-editors branch 7 times, most recently from d89b17b to a7d5c5a Compare December 28, 2024 00:02
@placintaalexandru placintaalexandru force-pushed the fix/K9S_EDITOR-env-var-for-custom-editors branch from a7d5c5a to e72feff Compare December 28, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't use neovim as editor
1 participant