How to Exit Vim
github.com
How to Exit Vim
1–10 of 25 posts
Re: How to Exit Vim
#2Bravo. Plus makes for an excellent demonstration of the flexibility of unix
Re: How to Exit Vim
#3Handy reference. I typically use a variant of "the suspend way," but I might try "the canonical way" one day.
Re: How to Exit Vim
#4out-of-band way:
echo "cd /system1/pwrmgtsvc1; reset" | ssh -T ADMIN@
Re: How to Exit Vim
#5Handy reference. I typically use a variant of "the suspend way," but I might try "the canonical way" one day.
I didn't get that far on first read, I assumed the Canonical way was "snap install vim; vim; systemctl stop snapd" or something.
Re: How to Exit Vim
#6My go-to:
`Ctrl-Z, kill -9 %1`
Re: How to Exit Vim
#7I assume somebody thought this was funny?
Re: How to Exit Vim
#8Walk over to that one guy's desk at the office, you know the one. Ask for his help. Then you just have to wait through about 5 minutes of "Modal editors are very simple once you know how they work! A command is composed of..." and after that he'll tell you what keys to press.
Re: How to Exit Vim
#9If you do the first example, won't that lead to a .swp file still being present, then a warning next time you start vim?
Re: How to Exit Vim
#10I assume somebody thought this was funny?
I guess. It is non-ideal how unintuitive it is to exit vim, but esc-esc-q-! is really not that complicated.