The Vim configuration file for http://nootn.com/blog/Tool/22/ Daniel has been updated.
There is a 1.24 update vimrc on the blog. I directly paste to my
In vimrc under the/etc/Vim directory.
It turns out that Chinese characters are garbled, and VIM does not listen to command.
All netizens follow him, Daniel created a Google code,
Http://code.google.com/p/asins/source/checkout
No code can be downloaded,
As mentioned above:
Use this command to anonymously check out the latest project source code:
# Non-members may check out a read-only working copy anonymously over HTTP.
SVN checkoutHTTP: // Asins.googlecode.com/svn/trunk/ asins-read-onlySo after apt-Get install subversion, there are ...... A asins-read-only/Vim/vimfiles/plugin/. vima asins-read-only/Vim/vimfiles/plugin/neocomplcache. vima asins-read-only/Vim/vimfiles/plugin/nerd_commenter.vima asins-read-only/Vim/vimfiles/plugin/doxygentoolkit. vima asins-read-only/Vim/vimfiles/plugin/checksyntax. vimchecked out revision 10. root @ zhangbin-LAPTOP:/etc/Vim # lsasins-read-only vimrc. backup vimrc. tiny is more Asins-read-only folder. Your own command execution is still a problem. A: root @ zhangbin-LAPTOP:/etc/Vim/asins-read-only/Vim # lsjslint vim73 vimfiles _ vimrcroot @ zhangbin-LAPTOP: /etc/Vim/asins-read-only/Vim # cp-R *.. /root @ zhangbin-LAPTOP:/etc/Vim/asins-read-only/Vim # CD .. root @ zhangbin-LAPTOP:/etc/Vim/asins-read-only # lsjslint Vim vim73 vimfiles _ vimrc I don't know how to use it. I think I did not get vim, So I deleted it, later, we found that there is a Vim folder. Root @ zhangbin-LAPTOP:/etc/Vim # rm-RF vimroot @ zhangbin-LAPTOP:/etc/Vim # lsasins-read-only jslint vim73 vimfiles _ vimrc. backup vimrc. tinyroot @ zhangbin-LAPTOP:/etc/Vim # mv _ vimrc vimrcroot @ zhangbin-LAPTOP:/etc/Vim # lsasins-read-only jslint vim73 vimfiles vimrc. backup vimrc. tiny
Root @ zhangbin-LAPTOP:/etc/Vim # Vim vimrc
Error detected while processing/usr/share/Vim/vimrc:
Line 47:
E185: cannot find color scheme colorzone
Press ENTER or type command to continue
Open vimrc with gedit and comment out 47 rows.
Then,Root @ zhangbin-LAPTOP:/etc/Vim/asins-read-only # cp-r Vim .. root @ zhangbin-LAPTOP:/etc/Vim/asins-read-only # CD .. root @ zhangbin-LAPTOP:/etc/Vim # lsasins-read-only jslint Vim vim73 vimfiles vimrc. backup vimrc. tinyvim can be used normally. It is found that there are many differences. Take it easy.
I see the encoding format,
View the file path
The {} code is reduced.
Yeah! Vim is powerful. Great!
==================
Rmdir cannot delete non-empty directories.
F of RM is force delete, and R is recursive Delete.
Therefore, Rm-RF can delete non-empty directories.
==================
Http://www.linuxsense.org/archives/88.html
Deleting directories in Linux is very simple. Many people are still used to using rmdir. However, once the directories are not empty, they are deeply worried ......
You can simply use RM, but you need to add two parameters-RF: Rm-RF directory name
-R is recursive down. No matter how many levels of directories are there, delete them together.
-F means to delete the file directly without any prompts.
Note that you must be extremely careful when using this RM-RF. Linux has no recycle bin.
Of course, RM has more parameters and usage, and man RM can be viewed.
========================
This is 10.04
Root @ zhangbin-LAPTOP:/usr/share # ll Vim
Total 28
Drwxr-XR-x 5 root Root 4096 ./
Drwxr-XR-x 311 Root 12288 ../
Drwxr-XR-x 4 Root 4096 Addons/
Drwxr-XR-x 2 root Root 4096 registry/
Drwxr-XR-x 17 Root 4096 vim72/
Lrwxrwxrwx 1 Root 5 vimcurrent-> vim72/
Lrwxrwxrwx 1 Root 8 vimfiles->/etc/Vim/
Lrwxrwxrwx 1 Root 14 vimrc->/etc/Vim/vimrc
Lrwxrwxrwx 1 Root 19 vimrc. Tiny->/etc/Vim/vimrc. Tiny
I now found that Daniel's _ vimrc is in windows? ====================================== The vim configuration file directory, found three. The author below said that the most important thing is under $ home, because this is the first access. Bytes
Posted on little fruit reading (46) Comments (0) EDIT favorite Reference Category: Linux
The Vim configuration directory has been very confused. I found that there are several configuration paths, except for those under home. vim and/usr/share/Vim/vim72 and/usr/share/Vim. Which of the three directories is the path read by VIM?
After several attempts and a little Google, I finally got the result. In the past, there were three "runtimepath" in Vim, which I mentioned above, but Vim reads these three paths in order.
The first directory to be read is $ home/. Vim. If Vim reads syntax or plugin from this directory, it will not read the USR directory any more.
The second read directory is/usr/share/vim, And the last read is/usr/share/Vim/vim72.
I think there is a reason for VIM designers to design this way. Currently, personalized settings for login users are preferred, while/usr/share/Vim is the setting for all users. Therefore, it is better to set and modify Vim in the home directory. On the one hand, it will not damage the original settings of the system and can be restored at any time. On the other hand, I did not fully understand the benefits, see this dude's article http://stackoverflow.com/questions/1384582/vim-linux-ubuntu-directory-location-vim-syntax for details
In fact, the documentation of VIM has been described in detail. In the command mode of VIM, enter: Help 'runtimepath' to see the detailed explanation.