VIM移动到行首的命令是什么?

Vim、Emacs配置和使用
回复
头像
M2WOW
帖子: 175
注册时间: 2008-01-23 11:13

VIM移动到行首的命令是什么?

#1

帖子 M2WOW » 2008-09-07 13:31

我只找到了移动到段首或者是句子首的命令,可是编程是语句的句子和行首也不一样啊,所以移动到行首的命令是什么?
emacs中是ctrl+a,vi中呢?
头像
sinyadvan
帖子: 724
注册时间: 2008-04-02 15:36
来自: O_O

#2

帖子 sinyadvan » 2008-09-07 13:57

google
0
HOME
上次由 sinyadvan 在 2008-09-07 15:36,总共编辑 3 次。
^o^ && O_O && ^_^
One World|One Dream|One Piece
愛 ^_^ 這個 美麗的世界O_O

本公司专治各种不服、不爽、谩骂、挑衅。
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

#3

帖子 kofshower » 2008-09-07 13:59

我用^
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
头像
ChloeRei
帖子: 1021
注册时间: 2007-11-23 9:49

#4

帖子 ChloeRei » 2008-09-07 14:21

头像
anticlockwise
帖子: 2394
注册时间: 2007-03-01 20:46
来自: 湖南长沙

#5

帖子 anticlockwise » 2008-09-07 21:40

gg
poet
帖子: 2841
注册时间: 2006-09-11 22:47

Re: VIM移动到行首的命令是什么?

#6

帖子 poet » 2008-09-07 22:01

M2WOW 写了:我只找到了移动到段首或者是句子首的命令,可是编程是语句的句子和行首也不一样啊,所以移动到行首的命令是什么?
emacs中是ctrl+a,vi中呢?
0 (数字零)就是行首

建议你 help index.txt 看看。
头像
ivershuo
帖子: 83
注册时间: 2008-03-05 16:22
联系:

#7

帖子 ivershuo » 2008-09-09 0:46

0
移到行尾用$
头像
ebok
帖子: 852
注册时间: 2008-02-15 0:09

#8

帖子 ebok » 2008-09-09 2:13

WAR3输了你最后要输入什么?
Somebody think they are full of niubility, so they play a zhuangbility, but only reflect their shability.
头像
alinmn
帖子: 185
注册时间: 2006-05-19 21:42
来自: NIT

#9

帖子 alinmn » 2008-09-09 12:47

绝对的行首用“0”,第一个非空字符用“^”
回复