Stefan 'gideonstar' Ritter

Last build: 15.05.2026 11:05

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