• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Block Explorer 
  • Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Hive Proposals 
  • OpenHive Chat 
  • Developer Portal 
  • Hive Whitepaper 
  • Privacy Policy
  • Terms of Service
logo
  • Posts
  • Proposals
  • Witnesses
  • Our dApps
LoginSign up

How to exit vi/vim?

cycledlinkedlist (32)in #programming • 8 years ago (edited)

You have to press ESC at first - Vim enters command mode. And then type:

:q! to quit without saving (think: quit)
:wq to write and quit (write and quit)

followed by ENTER key.

This was the most searched question on stack overflow.
Source: https://stackoverflow.blog/2017/05/23/stack-overflow-helping-one-million-developers-exit-vim/

#vim #tutorials #vi
8 years ago in #programming by cycledlinkedlist (32)
$0.00
    1 vote
    • samsulbahri90
    Reply 0
    Sort:  
  • Trending
    • Trending
    • Votes
    • Age