12
gdb123
5y

you can enter but its difficult to exit.

Comments
  • 5
    The joke about exiting Vim has been so beaten up to death that I'm sure a lot of people who aren't using Vim know how to exit it.
  • 1
    @kamen You're right, even as a non Vim user I know obviously
    Just close the console
  • 1
    : for commands
    :q = safe quit
    :q! = force quit (but it tells you when :q fails)
    :w = write
    :wq = write then quit
    :x = shorthand
  • 1
    And it tells you about :q when you launch it.
  • 0
    Thought this was about vim not vi. Use ZQ (quit) or ZZ (save & exit) for fuck sake. This too works only in command mode so if editting press escape first.
Add Comment