mirror of
https://github.com/Hizenberg469/Vim-tutorials.git
synced 2026-04-19 22:02:24 +03:00
update
This commit is contained in:
@@ -1,26 +1,11 @@
|
|||||||
You can use this file to practice editing.
|
You can use this file to practice editing.
|
||||||
|
|
||||||
First, fix this spelling mistake.
|
|
||||||
Fix these also.
|
|
||||||
Delete this text with the X command.
|
|
||||||
This this training training is is provided provided by LinuxTrainingAcademy.com.
|
|
||||||
This training is provided by LinuxTrainingAcademy.com.
|
|
||||||
Here is another line of text.
|
|
||||||
Guess what? Here is even more text!
|
|
||||||
Will you delete this line or not? We'll see...
|
|
||||||
|
|
||||||
one two three four five six seven eight nine ten eleven twelve thirteen
|
|
||||||
two three four five six seven eight nine ten eleven twelve thirteen
|
|
||||||
three four five six seven eight nine ten eleven twelve thirteen
|
|
||||||
four five six seven eight nine ten eleven twelve thirteen
|
four five six seven eight nine ten eleven twelve thirteen
|
||||||
|
|
||||||
one two three four five six seven eight nine ten eleven twelve thirteen
|
|
||||||
one two three four five six seven eight nine ten eleven twelve thirteen
|
|
||||||
one two three four five six seven eight nine ten eleven twelve thirteen
|
one two three four five six seven eight nine ten eleven twelve thirteen
|
||||||
|
|
||||||
one two three four five six seven eight nine ten eleven twelve thirteen
|
|
||||||
one two three four five six seven eight nine ten eleven twelve thirteen
|
|
||||||
one two three four five six seven eight nine ten eleven twelve thirteen
|
|
||||||
|
|
||||||
one two three four five six seven eight nine ten eleven twelve thirteen
|
one two three four five six seven eight nine ten eleven twelve thirteen
|
||||||
one two three four five six seven eight nine ten eleven twelve thirteen
|
one two three four five six seven eight nine ten eleven twelve thirteen
|
||||||
|
|||||||
14
vim-commands
14
vim-commands
@@ -59,7 +59,21 @@ Normal mode commands:
|
|||||||
dk: To delete whole current line and the line above.
|
dk: To delete whole current line and the line above.
|
||||||
d$: To delete from current position of cursor to the end of
|
d$: To delete from current position of cursor to the end of
|
||||||
the line.
|
the line.
|
||||||
|
d0: To delete from current position to the first letter of the
|
||||||
|
current line the cursor is present.
|
||||||
|
D: Equivalent of of what d$
|
||||||
|
dd: To delete the current line entirely no matter where the cursor
|
||||||
|
is present currently on that same line.
|
||||||
|
|
||||||
|
<number>dd: To delete the 3 lines below from current line where
|
||||||
|
the cursor is present.
|
||||||
|
|
||||||
|
|
||||||
|
Note: <number><delete-command> is telling in short hand on how many
|
||||||
|
times the delete-command given should be executed. Same as the
|
||||||
|
command shown above (<number>dd).
|
||||||
|
|
||||||
|
<number>dw: delete-word command to be executed <number> numbers of times.
|
||||||
|
|
||||||
Line mode:
|
Line mode:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user