ways to close vim
ways to close vim
Shift fast enough after typing the colon…
cat /dev/zero > “/proc/$(pidof vim)/mem” is my favorite dumb way. Clear its memory, wait for the segfault.
dumb way.
Get fancy, add progress bar:
pv < /dev/zero > "/proc/$(pidof vim)/mem"M-! pkill -9 vim
Alt+PrtScn o
try…
:x
it will save your changes and exit vim If there are no changes to the then it just exits vim.
Open vim.
Accept vim is the OS now.