This is the case. I want to experiment with the operating system of Teacher Li Zhijun's class, but gedit on Linux is too simple (this is similar to the "Notepad" in Windows "), I was ridiculed by Yang Shiqi. I thought that since I was working in a Linux environment, I had to use a Linux editor!
So I decided to choose the most energetic Vim (you do not need to worry about Emacs, my hands ......)!
Then I found that there was no such thing as a sidebar ...... (Let's Talk About the input method that comes with ubuntu12.04. "You can't just take the test."-You know why it's not intelligent .)
Later, I found something called nerdtree.
Start of Science Popularization:
NerdN. Nasty people; mean people. (How can we translate it like this ?!)
Another question: Computer fans!
End of Science Popularization:
Specific installation process:
: Http://linux.softpedia.com/get/Utilities/NERD-tree-36487.shtml
Decompress the package to the nerd tree directory.
There are two directories: Doc and plugin.
$ Cp doc /*~ /. Vim/doc/
$ CP plugin /*~ /. Vim/plugin
$ Vim ~ /. Vimrc
Enter "nerdtree" in Vim. (do not lose the colon. When I was a child, I forgot that the colon was a lot of trouble !!!)
Will he tell you press? For help (I am not very good at English, which probably means ......), This is what we mean in this article. Translate this directory.
Expand a folder or open a file: Double-click (double-click), or O key (open the first and second folders)
Preview: Go)
Open in the new tab: T (it is really a new label, but there is no sidebar, open and jump to the past)
T (open without jump, the same as others)
Open a new window to open the file: tab (on that file name tab ~)
Execution file ...... :! (I have not tried to use it ......)
Go to the root directory: P
Go to parent directory: P
Go to the first sub-file: K
Last one: J
...... The rest cannot be understood.
In addition, CTRL + W + H move the cursor from editing the file to the sidebar. CTRL + W + L is the opposite.
Introduction to the use of the nerdtree plug-in