Hi as the question says basically, im adding some alias's to my bashrc in linux and its keeps messing up and when i try and go up with the cursor its just types AAA BBBB etc i know 'o' adds a new line but what's remove a line?
vi can be horrible the first times (like beer). But after some time it can be your friend (beer again).
Basic commands:
i start writingdd delete a lineo start writing after current line:wq from commands saves and quits from filej/k move cursor down and up (respectively)h/l move cursor left and right (respectively)Here you have all the possible commands:
It seems like you are using Vim if you say o adds a new line. First press the ESC key to switch to normal mode, then use dd to delete a line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With