: % S/R // G press enter to delete dos ^ m
: % S = * $ = Delete the blank space at the end of the row
: % S/^ (. *) N1/1 $/delete duplicate rows
: % S/^. {-} PDF/newusers/only deletes the first PDF
: % S/<! -- _. {-} --> // Delete the multi-line comment (comment? Why do we say "again ?)
: G/S * ^ $/d delete all empty rows: Is this easy to use? Has anyone used any other methods?
: G! /^ DD/d Delete strings not included'
Dd'
Rows
: V/^ DD/d !, Is not matched !)
: G/str1/,/str2/d delete all the rows from the first entry containing str1 to the first entry containing str2.
: V/./,/./-1 Join compressed empty rows
: G/^ $/,/./-J compressed empty rows
Ndw or & nbspndw remove & nbspn-1 characters starting at and following the cursor.
Delete D0 to the beginning of the row.
D $ Delete to the end of the row.
NDD deletes the current row and Its & nbspn-1 rows.
X or & nbspx delete a character.
CTRL + u Delete the text entered in the input mode.
^ R restore u
J. Merge the next row to the end of the current row
V select a row
^ V press ^ V to select a rectangle.
Aw select word
IW internal words (no space)
As Select sentence
Is Select sentence (no space)
AP selection Section
IP selection section (no space)
D. Delete it to the end of the row.
X, Y Delete and copy contain highlight Area
DL deletes the current character (same as the X command)
D0 is deleted to the starting position of a row.
D ^ Delete the first character (excluding spaces or tab characters) to a row)
DW is deleted to the end of a word.
D3w is deleted to the end of the third word.
DB is deleted to the start position of a word.
DW is deleted to the end of a word with a space as the separator.
DB is deleted to the start position of a word with space as the separator.
D7b is deleted to the start position of the first seven words with spaces as separators.
D) Delete to the end of a statement
D4) to the end of the fourth statement.
D (delete to the start position of a statement)
D) delete it to the end of a paragraph.
D {Delete to the beginning of a paragraph
D7 {Delete the first 7th paragraph positions before the start position of the current paragraph
Dd deletes the current row
D/Text: Delete the position where the specified text appears in the text, until the next text appears (but does not include the text ).
DFC deletes the position where the character "C" appears from the text and continues until the next occurrence of the character (including the character ).
DTC deletes the content from the current row until the next character "C" appears
D. Delete it to the end of a row.
D $ Delete to the end of a row
5dd Delete the contents of the five rows starting from the current row
Delete DL content until the last line on the screen
DH Delete until the first line of content on the screen
Delete content from the DG until the end of the work Cache
D1g Delete content that begins in the work Cache