+2 votes
in General by (11.2k points)
I am new to VI editor and trying to learn shortcuts. Is these shortcut to delete a line in VI editor?

1 Answer

0 votes
by (17k points)
You can do by pressing 'd' twice quickly. Take the cursor to the line you want to delete and then type 'dd'. It will delete that line. If you are in insert mode, press ESC to come out of insert mode. Then only 'dd' will work.
by
i have some confusions regarding this
...