My working vim appearance looks like that: working vim

Sometimes I accidentally open file when I am focused on nerd tree buffer and I end up like this: vim working mess

So I would like to ask you if there is any way to set vim to block opening files in certain buffers?

  • 3
    Re-map the "open-file" combination in NerdTree to something more difficult to hit by mistake. Or ditch NerdTree entirely :P – VanLaser Jan 23 '16 at 13:02
  • Would you be so kind to explain to me what do you mean by "ditch NerdTree entirely" ? – Al Bundy Jan 24 '16 at 8:56
  • 1
    I.e. don't use it until you get more familiar with Vim configuration, and then reading Vim plugins help files. I do assume (perhaps I'm wrong) that you are not too used to Vim, due to the non-specific way in which you have asked your question (appearance, using Vim as an IDE, or coming from one). – VanLaser Jan 24 '16 at 17:40
  • @VanLaser That's right I am beginner with vim. How would you organize appearance? What do you think would be more useful to display than for example NerdTree? – Al Bundy Feb 2 '16 at 23:40
  • 2
    I would organize appearance later, and just use :e <tab> and :b <tab> for a while. – VanLaser Feb 3 '16 at 22:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.