Vim is a well-known, powerful, highly customizable text editor similar to VI, which improves and adds many features on the basis of VI. Vim is purely free software.
To meet the user's requirements, it became popular to configure the Vim interface as the desired interface type. Here's a brief introduction to Vim's configuration process:
1, first, in order to ensure the ease of operation (directly drag files under Windows to the virtual machine environment), before configuring Vim, check the Linux environment file sharing function is open:
If it is not, always enable/enable before the next shutdown or suspend, shared folders, options, settings, virtual machines, toolbars found.
http://www.vim.org/scripts/script.php?script_id=273
download Taglist_xx.zip, unzip the finished, put the extracted doc content to ~/.vim/doc, will
content copied from the extracted plugin to ~/.vim/plugin
3. Install File Browser and window Manager--plugin: Winmanager
Http://www.vim.org/scripts/script.php?script_id=95
Download Winmanager.zip, version 2.X or above.
Unzip the Winmanager.zip, put the extracted doc content to ~/.vim/doc, will extract out
Copy of the content under the plugin to ~/.vim/plugin
4. Write the. vimrc file
(1),
Set syntax highlighting: syntax on
Display line number:set nu
Set the number of spaces for indentation to 4:set shiftwidth=4
Add in ~/.VIMRC:
Let tlist_show_one_file=1
Let Tlist_exit_onlywindow=1
Let Tlist_use_right_window=1
Let g:winmanagerwindowlayout= ' fileexplorer| TagList '
Nmap wm:wmtoggle<cr>
(note upstream Nmap Wm:wmtoggle<cr>, where WM has a space after it)
5. Then restart Vim, open ~/vim71/src/main.c, enter "WM" in normal state, the result is as follows:
Configuring the Vim development environment