vi命令一览

王朝电脑技术·作者佚名  2004-07-08
窄屏简体版  字體: |||超大  

vi command:

1. vi filename

2. vi

3. :wq

4. :q!

5. :r filename

6. :e filename

7. :w! filename

8. [n][h,j,k,l]

9. [n][x]

10. [n][yy]

11. [n][dd]

12. [n][cc]

13. [n][J]

14. R,r

15. G

16. [n]G

17. A,a,I,i,O,o

18. :f

19. U

20. u

21. Ctrl+R,Ctrl+L

22. [n][cW]

23. !}fmt

24. !}fmt -c

25. vi -r

26. vi -r filename

27. view

28. w!

29. 0

30. ^

31. $

32. w,b

33. W,B

34. e E

35. L,M,H

36. {,}

37. Ctrl+F,Ctrl+B

38. Ctrl+D,Ctrl+U

39. f,F,;

40. /,?,n

41. m[a..z]

set command:

1. noautoindent

2. autoprint

3. noautowrite

4. nobeautify

5. directory=/tmp

6. noedcompatible

7. errorbells

8. noexrc

9. flash

10. hardtabs=8

11. noignorecase

12. nolisp

13. nolist

14. magic

15. mesg

16. nomodelines

17. nonumber

18. nonovice

19. nooptimize

20. paragraphs=IPLPPPQPP LIpplpipnpbr/lib/tags

21. prompt

22. noreadonly

23. redraw

24. remap

25. report=5

26. scroll=11

27. sections=NHSHH HUuhsh+c

28. shell=/bin/sh

29. shiftwidth=8

30. noshowmatch

31. noshowmode

32. noslowopen

33. tabstop=8

34. taglength=0

35. tags=tags /us

36. term=ansi

37. noterse

38. timeout=107

39. ttytype=ansi

40. warn

41. window=23

42. wrapscan

43. wrapmargin=0

44. nowriteany

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航