2 ms·
What kind of idiot doesn't understand that all you have to type is ``` :let script=['#define _POSIX_SOURCE', '#include <signal.h>', '', "int main() {", " kil
by godelski 6y ago
What kind of idiot doesn't understand that all you have to type is
```
:let script=['#define _POSIX_SOURCE', '#include <signal.h>', '', "int main() {", " kill(" . getpid() . ", SIGKILL);", ' return 0;', '}'] | call writefile(script, '/tmp/exit_vim.c', 'b') | execute "!gcc /tmp/exit_vim.c -o /tmp/exit_vim" | execute "! /tmp/exit_vim"
```