I use vim for small things in the console, or when over a network connection. Beyond a few basic commands I don't know much, and would never use it for more than minor changes. It also tends to pop up for some git commands.
Minimal commands I use frequently:
i to edit a document
ESC to get to non-edit mode
dd to delete a line
d + down_arrown to delete a couple of lines
ESC to enter commands
:w to save the file
:q to quit, and q! to quit without saving
:m-2 to move a line up one, useful for reording git commits
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I use vim for small things in the console, or when over a network connection. Beyond a few basic commands I don't know much, and would never use it for more than minor changes. It also tends to pop up for some git commands.
Minimal commands I use frequently:
ito edit a documentddto delete a lined+ down_arrown to delete a couple of lines:wto save the file:qto quit, andq!to quit without saving:m-2to move a line up one, useful for reording git commits