[Experience] Vim's nerdtree plug-in is good.

Source: Internet
Author: User

Author: Thinkhy
Date: 2010.01.30.
URL: Http://www.disandu.com /? P = 698
Keyword: Vim nerdtree Vim Open Directory

I have heard of the nerdtree plug-in, but I haven't installed it all the time. I try to use the netrw plug-in provided by VIM to open the directory. Netrw is inconvenient to use, and the display method is not intuitive. You cannot keep the Directory window after opening the file. Finally, I decided to try the nerdtree plug-in after reading the recommendations from netizens in the Shui Mu Vim version. This plug-in was useless for only half a day. I found that this plug-in is no longer necessary, so let nerdtree be my standard.

Specifically, several mappings are configured for nerdtree:

  "NERDTree plugin
 let NERDTreeWinPos = "right" "where NERD tree window is placed on the screen
 "let NERDTreeWinSize = 31 "size of the NERD tree
 nmap <F7> <ESC>:NERDTreeToggle<RETURN>" Open and close the NERD_tree.vim separately

Nerdtree plug-in address: http://www.vim.org/scripts/script.php? Script_id = 1, 1658


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.