Link to home
Start Free TrialLog in
Avatar of Vikur
Vikur

asked on

Vi automaticaly changes to Command mode ( arrows pressed )

Hi,

  VI question.

  I think it's easy : I want to remain in Edit Mode and move cursor when arrows are pressed. ( I'am sure it's a 'term' declaration). Now VI passes to Command Mode

Thanks

Avatar of chris_calabrese
chris_calabrese

The whole concept behind VI is to seperate command mode and edit mode, with movement within the edit buffer being considered commands, and not edit.

If you want an editor that's modeless, use emacs or pico.

But be warned, the one and only actual study on the subject that I'm aware of showed that expert VI users are much much more efficient than experts with any other editor.  And it's actually not as difficult to learn as you might think.
use vim instead of vi http://www.vim.org/
(traditional vi users will not feel the difference, whileother's can use the advantages;-)
Avatar of Vikur

ASKER

1.May be I can do it somehow tricky (I mean that it'll be as it's on vim imlemented)

2.I have no time and permissions to isntall and support vim

Thanks
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
comment for Ahoffmann.

If you do a "set cp" it will allow the toggling "u".
-----------

As for Vikur, the solution is really install Vim, and if you are worried about supporting it, just set the vi compatibility flags by default and then let the users do whatever they like with it (at their own risk they can change the defaults, but they are normally allowed to do that with vi anyway so that should not be a problem)
THANKS, for the tip, frederico