0% found this document useful (0 votes)
369 views1 page

vim 教學pdf

这篇文档提供了关于vim命令的简要说明。它总结了vim中移动光标、操作文本、切换模式、窗口操作等各种基本命令,以表格的形式列出了命令和相应的功能。

Uploaded by

willtuna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
369 views1 page

vim 教學pdf

这篇文档提供了关于vim命令的简要说明。它总结了vim中移动光标、操作文本、切换模式、窗口操作等各种基本命令,以表格的形式列出了命令和相应的功能。

Uploaded by

willtuna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

/

vim

(character)
H

:6
#

zt

Ctrl-B

l
j

M
$

zz

/()

()

(paragraph)(block)

[{

fi
w

[{

]}

'x
Ctrl-N

(line)

(word)

gd

Ctrl-F

mx
Ctrl-W k

Ctrl-W p
:split

zb

Ctrl-W j

zt

zz

zb

C-F

mx

'x

(search)
Ctrl-W l

:vsplit
:diffsplit
/fooCl

C-B

Created by vgod, Dec. 2009

normal mode
visual mode
visual line mode
visual block mode
insert mode
replace mode

y
d
c
x
D
C
p
J
r
>
<
.
u

()
/()
()
/()

()

:w
:q
:e x
:n
:h
:xx

(:wq )
(:q!)
x

vim help
xx

EX

(screen)

]}

ESC
v
V
Ctrl-v
i
R
a
A

fx

gd

[insert mode]
C-N

C-P

C-X C-F

(split window)
:vsp

:sp

:diffs

(diff)

/xxx

xxx

C-W p

()

C-W w

You might also like