¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

vi

jlab Informatik Alemán 32 fichas

Fichas del conjunto (32)

  1. 1delete contents of paranthesis and insert thereci(
  2. 2insert and replace wordciw
  3. 3change inside a tag sometextcit
  4. 41. move line one line higher 2. move line three lines down 3. move current line to line 51. :m-2
    2. :m+3
    3. :m5
  5. 5short for move current line one line downddp
  6. 6move to line 5 2x5+g
    or
    :5
  7. 7vim: count occurences of pattern "welt":%s/welt//gn
  8. 8split: 1. vertical 2. horizontal each 2x1a) :vsplit
    b) +w v
    2a) :split
    b) +w s
  9. 9insert console ouput:r !
  10. 10delete current line till end of filedG
  11. 11name for the current open file%
  12. 12delete: 1. the next 3 words 2. the 3 words before 3. lines 4 to 7 4. the next 5 lines1. 3dw
    2. 3db
    3. 4,7dd
    4. 5dd
  13. 13append content of lines 1 to 10 to file outfile:1,10 w >> outfile
  14. 14open file with vi and go with cursor to line with patternvi +/pattern file
  15. 15open file with vi and go with cursor to line 23vi +23 file
  16. 16read in content of file:r file
  17. 17save current buffer under newfilename and set the new file name for the current buffer:sav newfilename
  18. 18write all buffers:wa
  19. 19short: write current file and quit (without using ":")ZZ
  20. 20find file and edit if unique:fin filepattern
  21. 21yank three lines into buffer b"b3yy
  22. 22repeat last action.
  23. 231. mark current line as z 2. go to mark g 3. delete from mark a to b1. mz
    2. 'g
    3. :'a,'b d
  24. 24save lines 10 to 20 to a file myfile:10,20w myfile
  25. 25split screens horizontally and open file myfile in the current buffer:split myfile
  26. 26set mark x in the current linemx
  27. 27go to line with mark y'y
  28. 28list all marks:marks
  29. 29go to the line and column of mark z`z
  30. 30(requires vim 7) delete mark x (short version):delm x
  31. 31jump back to the position where jumped from'' (two characters!)
  32. 32go to next split screen+w +w

Información

Descripción
the vi editor
Creado por
jlab
Visitas
44
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?