diff --git a/docs/books/admin_guide/05-vi.md b/docs/books/admin_guide/05-vi.md index cc24fe8eaa..ae2a46c34d 100644 --- a/docs/books/admin_guide/05-vi.md +++ b/docs/books/admin_guide/05-vi.md @@ -288,7 +288,7 @@ These operations are done in *command* mode. * Paste a word once or `n` times after the cursor: -++p++ or ++"n"+"p"++ +++"p"++ or ++"n"+"p"++ * Paste a word once or `n` times before the cursor: @@ -337,13 +337,21 @@ These operations are done in *command* mode. ++"y"+"$"++ -* Delete (cut) the text from the current line: +* Delete (cut) the contents from the cursor line to the last line of the file: + +++"d"+g++ + +* Delete (cut) the contents from the cursor line to the last line of the screen: + +++"d"+l++ + +* Copy the content from the cursor line to the end of the file: -++"d"+l++ or ++"d"+g++ +++"y"+g++ -* Copy the text from the current line: +* Copy the content from the cursor line to the end of the screen -++"y"+l++ or ++"y"+g++ +++"y"+l++ ### Cancel an action