Sometimes in my workflow, I might want to open or search for a file on the go.
I'd like to map a single key (say F6) to open and close NERDTree (i.e., I want to toggle the NERDTree view). Also, I'd like NERDTree to display hidden files and folders in its toggled view, and I'd also like it to close automatically when I open a file for editing, if that is possible.
:h
;)