Vim Editor Add plugin Nerdtree

Source: Internet
Author: User

0x01

First download the plugin in http://www.vim.org/scripts/script.php?script_id=1658 (may need to ladder, also can be in https://github.com/scrooloose/nerdtree. Download)

0x02

Installation is simple simply unzip the zip package to move the required files to the specified directory

Create a new directory below. Vim will unzip the good plug-in package inside the doc, plugin two folders moved to the directory can be

The files for the folder are as follows

After the installation is complete, create a new. vimrc file in the current user's home directory and add the content, as a shortcut key, the following content can be appropriately selected

Nnoremap <silent> <F5>:nerdtree<cr>//Set VIM Editor Press F5 to open plugin
Autocmd Vimenter * Nerdtree//Set to automatically open the plugin when Vim is started by default
Let nerdtreewinpos= ' right '//Set the VIM Editor's plug-in window
Let Nerdtreeshowbookmarks=1//Open plugin auto display bookmarks
Map <F3>:nerdtreemirror<cr>//Show view and hide plugins
Map <F3>:nerdtreetoggle<cr>

Vim Editor Add plugin Nerdtree

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.