what are the two different modes in vi editor?

Answers were Sorted based on User's Feedback



what are the two different modes in vi editor?..

Answer / modi[achir communication]

There are three basic modes of vi:

Command mode
This is the default when you enter vi. In command mode,
most letters, or short sequences of letters, that you type
will be interpreted as commands, without explicitly
pressing Enter . If you press Esc when you're in command
mode, your terminal will beep at you. This is a very good
way to tell when you're in command mode.

Insert mode
In insert mode, whatever you type is inserted in the file
at the cursor position. Type a (lowercase letter a, for
append) to enter insert mode from command mode; press Esc
to end insert mode, and return to command mode.

Line mode
Use line mode to enter line oriented commands. To enter
line mode from command mode, type a colon ( : ). Your
cursor moves to the bottom of the screen, by a colon
prompt. Type a line mode command, then press Enter. Any
sensible command from the Unix line editor ex will work,
and a few are good to know about. These commands are
indicated in this handout by a colon in front of the
command. Each time you use a line mode command, you must
type a colon to enter line mode, then type the command by
the colon prompt at the bottom of the screen, then press
Enter when you finish typing the command. (The search
commands starting with / and ? work similarly.

Is This Answer Correct ?    35 Yes 9 No

what are the two different modes in vi editor?..

Answer / p.ashwini

they are 3 modes actually and they are
1.command mode
2.insret mode
3.colon mode(:)

Is This Answer Correct ?    12 Yes 3 No

what are the two different modes in vi editor?..

Answer / natarajan

Command Mode
Insert Mode
LastLine mode

Is This Answer Correct ?    9 Yes 4 No

what are the two different modes in vi editor?..

Answer / raam

Command Mode
Insert Mode
LastLine mode

Raam
ramumcato@yahoo.com

Is This Answer Correct ?    10 Yes 8 No

what are the two different modes in vi editor?..

Answer / moona

command mode and insert mode

Is This Answer Correct ?    6 Yes 4 No

what are the two different modes in vi editor?..

Answer / rehan ali qureshi

There are two types of a Vi Editor,
Input Mode and Command Mode

Is This Answer Correct ?    5 Yes 6 No

what are the two different modes in vi editor?..

Answer / vyshali

write mode and command mode

Is This Answer Correct ?    3 Yes 7 No

Post New Answer

More Vi Editor Interview Questions

How to replace String "a" with String "b" in whole file of the vi editor?

10 Answers   Niksun,


what is the command used to set margin in vi editor?

2 Answers  


Which command is used to replace many characters?

4 Answers  


How to append a file to current file?

3 Answers  


what is the command used to delete current line in vi editor?

2 Answers  






How to return to shell without leaving vi editor?

2 Answers  


what are the different delete commands used in vi editor?

2 Answers  


What is the command used to replace many characters?

2 Answers  


How to create a .exrc file in vi editor?

1 Answers  


what are the different commands used to quit from the vi editor?

1 Answers  


What does the /text command do?

4 Answers  


What is the difference between ZZ and :wq commands?

4 Answers  


Categories
  • Vi Editor Interview Questions Vi Editor (21)
  • Visual Studio IDE Interview Questions Visual Studio IDE (207)
  • Editors AllOther Interview Questions Editors AllOther (1)