SlackwareThis Forum is for the discussion of Slackware Linux.
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,
When I'm using vi in X window, my home, end and delete keys doesn't work well. In the console it's ok, but in X it isn't. I'm using slack 10 and xterm, my TERM in the X is xterm, and in console is linux.
In COMMAND mode, the HOME and END keys doesn't work. In INPUT mode, those keys, also doesn't work, and by pressing them the mode returns to COMMAND. In INPUT mode the backspace doesn't work, i.e, can't do anything, just beeps. In INPUT mode the DELETE key, doesn't work perfectly, i.e, it deletes caracteres when pressed, but when a line is completely empty this keys doesn't pull the next line up.
I think that's about it.
To delete a line, I use dd in command mode (with a number before if I want to delete some lines
at the same time) I use x to delete char in command mode (with a number before as the same way
for dd)
In input mode the delete key works with me (and the vimrc example config copied in ~/.vimrc)
To go to end of line I use $ in command mode
To go to end of document, I let the next key pushed (the one to right of the end key on my
keyboard) until it reach the end
Originally posted by Cedrik
To go to end of document, I let the next key pushed (the one to right of the end key on my
keyboard) until it reach the end
or you can use "G" as well
here's a good reference - or check the docs at vim.org:
OK, I may use the keystrokes of the COMMAND mode, but if I am on INPUT mode and I want to delete caracteres or pull a line up, it won't do that because of the misconfigured HOME, END, DELETE keys.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.