Stefan 'gideonstar' Ritter

Last build: 23.03.2026 22:24

Home Blog (RSS)

How to quit Vi

Have you ever had the problem of not knowing how to exit VI without restarting your computer? No problem, here’s a very simple solution:

:!kill -9 $(ps ax | grep vi | head -n 1 | cut -d " " -f 1)

See? It’s not that difficult.

Share on Mastodon