hakluke/how-to-exit-vim

The (outside of) vim way

bzbzh opened this issue · 0 comments

bzbzh commented

vim tmp +'1!ps -ef|grep vim' +'%s/ \d (\d).*/kill -9 \1' +'wq';sleep 1;. ./tmp