File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,12 @@ Credit: @hakluke
4040:py3 import os,signal;from subprocess import check_output;os.kill(int (check_output([" pidof" ," vim" ]).decode
4141(' utf-8' )),signal.SIGTERM )
4242```
43+
44+ ## The pure perl way
45+ ``` perl
46+ :!perl -e ' while(</proc/*>){open($f, "$_/cmdline"); kill 9, substr($_,6) if <$f> =~ m|^vim\x00| }'
47+ ```
48+
4349## The Rustacean's way
4450Credit: @wodny
4551
@@ -95,6 +101,12 @@ Credit: @Jorengarenar
95101
96102_ ** Pull the plug out** _
97103
104+
105+ ## The hardware expert way
106+ Use VIMKiller! The most practical physical solution to all your VIM troubles. It only costs 500,000 USD!
107+
108+ [ VIMKiller git] ( https://github.com/caseykneale/VIMKiller )
109+
98110## The timeout way
99111
100112Credit: @aarongorka
@@ -614,3 +626,16 @@ $ source ~/.bashrc
614626```
615627
616628Note: does not exit a running instance of Vim, but resolves future issues.
629+
630+ ## The AWS Way
631+ 1 . In AWS EC2, select ** Launch Instance** .
632+ 2 . Launch an EC2 instance with a Linux based AMI.
633+ 3 . ssh into the newly created EC2 instance
634+ ``` shell
635+ ssh -i < ec2 keypair pem location> ec2-user@< ec2 instance ip address>
636+ ```
637+ 4 . Launch vim
638+ ``` shell
639+ vim
640+ ```
641+ 5 . In the AWS EC2, select the newly created EC2 instance and terminate the instance.
You can’t perform that action at this time.
0 commit comments