title: Can any VIM plugin help me refactor a React component?
body: <p>I've  been using Vim quite happily and productively for about 15 years. For a while now I mostly program in Ruby/Rails and Javascript projects. </p>
  
  <p>I've occasionally tried IDEs and found that they offer me little that Vim doesn't do better for my needs. Recently however, I've been more and more dissatisfied with a couple of things with Vim as my editor, and most of that has to do with refactoring. </p>
  
  <p>Refactoring that spans multiple files has always been inefficient for me in Vim, and now that I'm working on React apps every day along with Rails code I feel like I'm wasting a LOT of time during refactoring. </p>
  
  <p>Here are some examples of repetitive tasks I find myself spending "too much" time doing:</p>
  
  <p>A simple component name change I need to:</p>
  
  <ol>
  <li>change the file name</li>
  <li>change all import statements</li>
  <li>change occurrences of the component.</li>
  </ol>
  
  <p>When adding a component to a file:</p>
  
  <ol>
  <li>remember to add import statments</li>
  </ol>
  
  <p>When removing a line that refers to a component:</p>
  
  <ol>
  <li>remember to remove import statements. </li>
  </ol>
  
  <p>If I want to change the location of one of my components:</p>
  
  <ol>
  <li>change all import statements to match. </li>
  </ol>
  
  <p>All of this is quite tedious and I imagine other editors out there have tools to make it less so. What are other Vim / React devs out there doing to make their lives easier with respect to this boilerplate and repetitive tasks. Some kind of linter?</p>
  
  <p>For example, instead of the build failing because I didn't import the file, I'd rather the import statement just be added for me (if unambiguous), or be given a list of options to choose from. </p>