title: Prevent opening files inside NERDTree or MiniBuffExplorer windows in Vim
body: <p>I find myself opening files inside the wrong window in Vim — sometimes the NERDTree or MiniBuffExplorer — and it’s really throwing me off.</p>
  <p>I’m sure it’s happening because my cursor is mistakenly focused inside one of these windows, but is there anything I can add to my <code>.vimrc</code> file to prevent this from happening?</p>