What does :q command do?

The :q command in the Vim text editor is used to quit the editor. If you have unsaved changes, Vim will prevent you from quitting and display a warning. To force quit without saving changes, you can use :q!.

0 Comments

no data
Be the first to share your comment!