Skip to content

Commit 1233a25

Browse files
authored
Merge branch 'master' into master
2 parents 7fae8c2 + df7351d commit 1233a25

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff 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
4450
Credit: @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

100112
Credit: @aarongorka
@@ -614,3 +626,16 @@ $ source ~/.bashrc
614626
```
615627

616628
Note: 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.

0 commit comments

Comments
 (0)