Nerdtree--vim directory tree Software Installation configuration and common shortcut keys

Source: Internet
Author: User
One installation MethodOfficial web site: The NERD tree:a Tree Explorer plugin for navigating the filesystem download Nerd_tree.zip (but I am not open on this side of the official website, so go to csdn a copy nerdtre E.zip) Unzip Nerd_tree.zip mkdir-p ~/.vim/plugin # If there is no plugin directory, create a MV Plugin/nerd_tree.vim ~/.vim/plugin # will nerd_t Ree.vim move near to open vim, input: Nerdtree saw the two common settings

Nerdtree open need to enter: Nerdtree, shut down when press Q can. You can also add a shortcut key to open vim ~/.VIMRC join this trip

Nnoremap <silent> <F5>:nerdtree<cr>
This will automatically expand the directory tree by pressing F5 Three I think the most commonly used shortcut keys

CTRL + W + W    cursor automatically switch to left right window
O       
T       opens the selected file/bookmark in the new tab and jumps to the new tab to       open the selected file/bookmark in the New tab, but does not jump to the new tab
P jumps       to the root node
p       jumps to the parent node.
Q       Close Nerdtree window

More comprehensive shortcut keys please refer to: http://yang3wei.github.io/blog/2013/01/29/nerdtree-kuai-jie-jian-ji-lu/ four effect chart


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.