How can I search for a file name in nerdtree?
To search for a file in Nerdtree, press the “m” key and then type in the file name. The specific steps are as follows:
- Open the Nerdtree plugin in Vim (you can use the command :NERDTreeToggle or a custom shortcut to open it).
- Navigate to the directory you want to search for in the Nerdtree window using the cursor.
- Press the “m” key to pop up a small window.
- Enter the file name you want to search for in the search bar and press Enter.
- Nerdtree will search for file names in the current directory and its subdirectories, displaying the matching results.
To continue searching for the next match, press the “m” key again and input the desired file name. To exit the search, press the “q” key.