6

I know how to close vim :q! or :wq

Comments
  • 1
    Wow, that's impressive
  • 2
    Ctrl Z
    kill $(pgrep vim)
    echo "vimftw"
  • 0
    :x for a shorter way to do :wq
  • 1
    I'm used to using nano, what's the difference between vim and nano?
  • 0
    @gitpush Try successfully opening, editing and saving a file (and close vim) with no help.
    Now seriously, I believe it's a lot more customizable, but I never used any of them for more than editing a few config files when there is no Sublime Text/VS Code.
  • 1
    @gitpush difference is nano tells you how to use it....
  • 0
    good exiting
  • 0
    @norman70688 Huh, you're right. I thought those were all the same, but not exactly.
    Thanks for the tip.

    (And I would argue :x is actually better than :wq, since it doesn't​ save the file unnecessarily)
  • 1
    @gitpush
    In nano one uses CTRL+X to exit...
  • 0
    @SHA-256 wow is vim that much of a mysterious software 😌
  • 0
    @gitpush Seriously open it and try to exit...it's the most horrible UX possible
Add Comment