<p>When editing the yaml definition of a resource the changes are not applied in k9s.</p>
<p>I see that neovim is saving the changes I made to a file in <code>/tmp</code> but after exiting with <code>:wq</code> the changes are not being applied in k9s.</p>
<p>When I do the same thing with e.g. nano as editor, the changes are being applied immediately.</p>
<p>I saw <a href="https://stackoverflow.com/a/65954205/13693791">this answer</a> to a similar question that says the file in /tmp/ would need to be applied (using kubectl apply) which does work but I would like to have a similar experience to the nano case, where the changes are saved and applied immediately.</p>

Marius Kimmina
<p>This is probably a case of Vim renaming the file during the process of writing the buffer to disk.</p>
<p>If so, you need to adjust <code>:help 'backupcopy'</code>:</p>
<pre><code>&quot; in your vimrc
set backupcopy=yes
</code></pre>
