title: Chef: How to set EDITOR for knife
body: <p>When I run below command I get the error mentioned below:</p>
  
  <pre><code>$ knife node edit hostname.domain.com
  ERROR: You must set your EDITOR environment variable or configure your editor via knife.rb
  </code></pre>
  
  <p>I wanted to set editor value in the knife.rb but I am not able to find which option would correspond to the editor. I have gone through below links which explain various options supported by knife.rb:</p>
  
  <p><a href="http://docs.opscode.com/config_rb_knife_optional_settings.html">http://docs.opscode.com/config_rb_knife.html</a></p>
  
  <p><a href="http://docs.opscode.com/config_rb_knife_optional_settings.html">http://docs.opscode.com/config_rb_knife_optional_settings.html</a></p>
  
  <p>I know I did not overlook above links but i can;'t find an option which is relevant to setting editor value.</p>
  
  <p>Could you point me to the correct options whihc will help me set editor for knife.</p>
  
  <p>Thanks.</p>