@woshichuanqilz
2015-11-15T03:00:55.000000Z
字数 741
阅读 1228
Vim
This the link of the original article
- The command we need in this operation :
arg and related cmd argadd argdel and so on
- Step one: Use command line to open multi files, like "gvim *.cpp" will open all the cpp file in current fold, you should notice that you just get one file visible in the vim instead of multi tabs in the vim to open all the file. But how can we get the list of the files which has been opened just now.
- Step two: Use command arg in the Vim and you will get the list of the file you just opened
- Step three: Use command argdo to exe the command in the list of the arg like ":argdo %s/cmd/command/ge | update"
PS: We should read the origin article carefully, cuz I haven't notice we should open the multi file in the command line, and I make a big mistake.