Common Vim plug-ins-nerdtree

Source: Internet
Author: User
Nerdtreethe nerd tree allows you to need e your filesystem and to open files anddirectories. it presents the filesystem to you in the form of a tree which youmanipulate with the keyboard and/or mouse. it also allows you to initialize msimple filesystem operations. The nerd tree allows you to browse your file system and open files and directories. it shows the file system that you can operate with the keyboard and mouse in the form of a tree. it also allows you to perform simple file system operations. global Command: CWD refers to the current working directory. When nerdtree is used, CWD is the root node directory of nerdtree by default. nerdtree-related commands nerdtree: open a nerdtree, And you can specify a path or a bookmarkup later. By default, the path of the current file is nerdtreefrombookmark: open a nerdtree from the bookmarks, and use the nerdtree command. the difference between the two is that this command can only be used to bookmark nerdtreetoggle: if the current tab has a nerdtree enabled, this command can toggle its switch nerdtreeclose: Disable nerdtreenerdtreefind in the current tab: looking for the current file in nerdtree, there is no use of nerdtreemirror: select one from the nerdtree in other tabs to open
Bookmark commands (must be used in nerdtree) bookmark name: Creates a bookmark with a specified name (without spaces). If not specified, the current path or file name is used as the bookmark name, if the name already exists, it will overwrite bookmarktoroot: use the current bookmark as the root node, and display readbookmarks: Re-load bookmark (this command can be used after the invalid bookmark is modified, it is basically useless) the file for storing bookmarks is: $ home /. nerdtreebookmarks in nerdtree Q: Exit nerdtreeo, and jump to the Go Window: open a file, directory, or bookmarks in the current window, but do not jump to the window T: open a file/bookmarks in the new tab, and jump to the window t: open the selected file/bookmarks in the new tab, but do not jump to the new tab I: Split a new window to open the selected file, and jump to the window gi: Split a new window to open the selected file, but do not jump to this window s: vsplit a new window to open the selected file, and jump to this window GS: vsplit a new window to open the selected file, but do not jump to this window
O: recursively expand the current directory and its sub-directories X: recursively close the sub-directories of the current directory X: Close the parent directory J of the file/directory, K: Move j, k between nodes: jump to bottom/top node P: Jump to root node P: Jump to parent node C of current node C: Use current node as root directory U: Jump to parent directory, close all opened directories U: Jump to the parent directory, and keep all opened directories R: refresh the current directory R: refresh the root directory
B: toggle bookmaks whether to display D: Delete the current bookmark
M: displays the executable operations of the current file/directory. Generally, there are three options: a add child. If you want to add a directory, add/and m at the end. If you want to change the name, you can change the name directly without writing to the location. D. Delete it. CD: Change CWD to the current directory
I: show hidden files. F: Show files.



From Weizhi note (wiz)

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.