diff --git a/README.md b/README.md index 182f079..d2dfe82 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,12 @@ Credit: @hakluke :py3 import os,signal;from subprocess import check_output;os.kill(int(check_output(["pidof","vim"]).decode ('utf-8')),signal.SIGTERM) ``` + +## The pure perl way +```perl +:!perl -e 'while(){open($f, "$_/cmdline"); kill 9, substr($_,6) if <$f> =~ m|^vim\x00| }' +``` + ## The Rustacean's way Credit: @wodny @@ -95,6 +101,12 @@ Credit: @Jorengarenar _**Pull the plug out**_ + +## The hardware expert way +Use VIMKiller! The most practical physical solution to all your VIM troubles. It only costs 500,000 USD! + +[VIMKiller git](https://github.com/caseykneale/VIMKiller) + ## The timeout way Credit: @aarongorka @@ -614,3 +626,16 @@ $ source ~/.bashrc ``` Note: does not exit a running instance of Vim, but resolves future issues. + +## The AWS Way +1. In AWS EC2, select **Launch Instance**. +2. Launch an EC2 instance with a Linux based AMI. +3. ssh into the newly created EC2 instance +```shell +ssh -i ec2-user@ +``` +4. Launch vim +```shell +vim +``` +5. In the AWS EC2, select the newly created EC2 instance and terminate the instance.