Computer Science, asked by don378858, 1 month ago

In which mode we can not save command​

Answers

Answered by anu560070
2

Answer:

To save a file without exiting in Vim:

Switch to command mode by pressing the ESC key.Type : (colon). This will open the prompt bar in the bottom left corner of the window.Type w after the colon and hit Enter. This will save in Vimthe changes made to the file, without exiting.

Answered by Sidra00
3

Answer:

The command to save a file in Vim is :w . To save the file without exiting the editor, switch back to normal mode by pressing Esc , type :w and hit Enter . There is also an update command :up , which writes the buffer to the file only if there are unsaved changes.

Explanation:

Hope it will help you :)

Similar questions