Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Hallo,
I just installed slackware 10.2 on one of the boxes at work (not connected to the internet)
I have been doing some work in vi editor, however it
behaves in a strange way. What I mean is delete, backspace, tab, and navigation keys don't work in a normal way. Sometimes they work, sometimes not. When
I use backspace, I can still see the letters that should have been erased, then I have to press delete
to get rid of them.
I have some experience using vi. I have been using it for half a year at home on Fedora Core and Centos.
Nothing like that has ever happened on them.
What's the reason for this? How can I fix it?
The other problem is how can I add colour support
for C syntax in vi. I have it on Fedora and Centos.
Thanks
set nocompatible
set backspace=indent,eol,start
set nobackup " do not keep a backup file, use versions instead
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set incsearch " do incremental searching
syntax on
set hlsearch
set autoindent " always set autoindenting on
set expandtab
set tabstop=4
set shiftwidth=4
Thanks, however, unfortunately, it didn't help much. There is some syntax highlihted, thoughBut still, navigation and deletion work funny.
Anyway, I'll probably switch to emacs at work. thanks for your help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.