[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vi: backspace and delete key



Steve Dondley wrote:

I've heard of problems with emacs and the backspace and delete key not
working properly.  Now I'm wondering what the correct behavior for vi is.
My keys seem to be acting a funny.

Backspace:  Behaves the same way as left arrow key but it keeps you in edit
mode.
Delete: Very weird behavior...pressing it once will capitalize the previous
letter.  The following keypresses  delete the letter to the right of the
cursor but you also get bounced out of edit mode.

This is ridiculous.  There are all these different versions of vi
(apparently I have nvi) and I don't know what to believe.  Some site say
backspace does one thing and others say it does another.

Can someone shed some light on this craziness?  Figuring all these minor
details out is getting extremely irritating to say the least.


You did not mention which version of debian that your using :/

There are several clones of vi some which take the route of having
many functions (i.e. vim) or others that take the route of being light
weight (i.e. nvi). Vim  is proberly the easist to learn (IMHO).

You could once you've found one that suites you, go to /etc/alternatives/ rm the existing vi symlink, and link
it to your prefered vi clone

You could do the following to turn up a few
vi clones
  apt-cache search vi | grep -i clone

Even thou using development verions of software
is risky, i would recomend vim 6 (http://www.vim.org),
but is is at your own risk :)

adam

--
 -- 110010100 --



Reply to: