• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 315
  • Last Modified:

Vi automaticaly changes to Command mode ( arrows pressed )


  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


1 Solution
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;-)
VikurAuthor Commented:
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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

1. AFAIK no for UNIXs which use standard AT&T vi (see chris' comment)
2. vim installation is very simple, support: use
  much simpler than vi documentations ;-)

I'm vi user since the beggining of dawn, but vim is nice, sometimes, somehow ... (I just miss the toggling 'u' command)
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now