vim学习----第07章 编辑多个文件

edit foo.txt
write
edit! foo.txt
hide edit foo.txt
vim one.c two.c three.c
next
next!
wnext
args
previous
wprevious
last
first
2next
set autowrite
set noautowrite
args five.c six.c seven.h
args *.txt
args!
ctrl-^
`"
`.
50%mF
GmB
ctrl-O
ctrl-i
set backup
set backupext=.bak
set patchmode=.orig
vjjjj$y
yanks
"fyas
"l3Y
ctrl-vjjww"by
"fp
"wdaw
write >> logfile
vim -R file
view file
vim -M file
set modifiable
set write
edit copy.c
saveas move.c
file move.c

你可能感兴趣的:(vim学习----第07章 编辑多个文件)