Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I'm taking a C programming class in college and we use VI text editor. I installed ubuntu on my computer so I can study. Every time I try to use Vi on my computer I'm able to type and delete using the delete button, but I can't delete using the backspace button. Every time I press it it only moves back on character. How can I solve my problem?
Thanks but none of the worked. I use Linux in school( through SSH) and I'm able to delete using backspace. I tried the cheat sheet d it didn't work. How can I uninstall VI so I can reinstall it again? maybe that fixes it.
Is your computer a laptop? If so, try fn + backspace and see what happens.
Do you know how to use Vi? (not meaning to be rude, but Vi can be confusing)
In using vi, it's important to be clear whether you are in command mode or text entry mode.
As I have tried to learn vi, that has been the single most difficult thing for me to get the hang of.
In my vi in text entry mode, backspace moves the cursor to the left, but does not delete the text as it passes over it. When I start typing from the new position, it replaces the text starting at the new cursor position.
In command mode, backspace also moves the cursor but does not delete the text. It does not appear to be able to move the cursor farther than the beginning of that line, again, in command mode. I cannot enter text until I return to text entry mode (ESC text-command).
In my vi in text entry mode, backspace moves the cursor to the left, but does not delete the text as it passes over it. When I start typing from the new position, it replaces the text starting at the new cursor position.
In command mode, backspace also moves the cursor but does not delete the text. It does not appear to be able to move the cursor farther than the beginning of that line, again, in command mode. I cannot enter text until I return to text entry mode (ESC text-command).
that's what happens to me, but I don't want that. I want to delete the character when backspace because that's how i do it on the Linux server at school. Anyway that can be fixed, or I'll have to get used to it XD
that's what happens to me, but I don't want that. I want to delete the character when backspace because that's how i do it on the Linux server at school. Anyway that can be fixed, or I'll have to get used to it XD
After I wrote this, I should have specified that I'm actually using vim ("vi-improved") rather than original vi. I don't know whether it makes a difference, but I was kicking myself for not mentioning it earlier.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.