Home / Smart Electronics

How to exit vim editing mode without saving

time:2024-11-24 08:02:51 Smart Electronics

Linux vim how to exit without saving

vim does not save to exit, you can press ESC first to enter the command mode; Then enter: Enter the bottom line command mode; Finally, enter q and press enter.

 Enter edit mode and press o to edit

At the end of editing, press the ESC key to jump to command mode, and then enter the exit command:

 :w Save the file without exiting vi editing

《How to exit vim editing mode without saving》 This does not represent the views of this website. If there is any infringement, please contact us to delete it.

Recommend

Ranking

Tech Beyond