Following shortcuts should be used in escape mode (After pressing Esc).
Task | Key |
---|---|
Create a new line above current line | SHIFT + O |
Create a new line below current line | O |
Copy current line or selection | SHIFT + Y |
copy a line | yy |
Paste after cursor | p |
Paste before cursor | SHIFT + P |
Delete a line | dd |