From 154f7aae7b880264544eb1b6089ba1c5243789f1 Mon Sep 17 00:00:00 2001 From: Felipe Bueno Date: Mon, 31 Dec 2012 16:15:55 -0200 Subject: [PATCH] Added a frequently asked question to README --- README.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.markdown b/README.markdown index 19217ba..60869de 100644 --- a/README.markdown +++ b/README.markdown @@ -82,6 +82,10 @@ __Q. How can I open a NERDTree automatically when vim starts up if no files were A. Stick this in your vimrc `autocmd vimenter * if !argc() | NERDTree | endif` +__Q. How can I map a specific key or shortcut to open NERDTree?__ + +A. Stick this in your vimrc to open NERDTree with `Ctrl+n` (you can set whatever key you want): `map :NERDTreeToggle` + __Q. How can I close vim if the only window left open is a NERDTree?__ A. Stick this in your vimrc: