Remember to actually kill the process though, since that will only background/suspend it in most cases.
(Be sure to save the file though first, Vim creates a “swap” / recovery file but its best to not rely on that, use fg to re-open, then press escape and type :wq)
ctrl+z seems to work
Remember to actually kill the process though, since that will only background/suspend it in most cases.
(Be sure to save the file though first, Vim creates a “swap” / recovery file but its best to not rely on that, use
fg
to re-open, then press escape and type:wq
)Followed by
kill -9 %1
to actually kill the process, otherwise your terminal might complain or freeze up when you try to close it