Skip to content

Commit fd41d8c

Browse files
authored
Change the command to lowercase style (#2327)
* Change the command to lowercase style * Reorganize wrong content
1 parent 394e4bc commit fd41d8c

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

docs/books/admin_guide/05-vi.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ These operations are done in *command* mode.
288288

289289
* Paste a word once or `n` times after the cursor:
290290

291-
++p++ or ++"n"+"p"++
291+
++"p"++ or ++"n"+"p"++
292292

293293
* Paste a word once or `n` times before the cursor:
294294

@@ -337,13 +337,21 @@ These operations are done in *command* mode.
337337

338338
++"y"+"$"++
339339

340-
* Delete (cut) the text from the current line:
340+
* Delete (cut) the contents from the cursor line to the last line of the file:
341+
342+
++"d"+g++
343+
344+
* Delete (cut) the contents from the cursor line to the last line of the screen:
345+
346+
++"d"+l++
347+
348+
* Copy the content from the cursor line to the end of the file:
341349

342-
++"d"+l++ or ++"d"+g++
350+
++"y"+g++
343351

344-
* Copy the text from the current line:
352+
* Copy the content from the cursor line to the end of the screen
345353

346-
++"y"+l++ or ++"y"+g++
354+
++"y"+l++
347355

348356
### Cancel an action
349357

0 commit comments

Comments
 (0)