diff --git a/README.md b/README.md index d415689..17ea939 100644 --- a/README.md +++ b/README.md @@ -205,3 +205,25 @@ NOTE: ONLY RUN THIS IF YOU REALLY, REALLY TRUST @Jbwasse2 TO RUN CODE ON YOUR CO ``` :silent !git clone https://github.com/Jbwasse2/exit_vim_script.git ^@ source exit_vim_script/exit_vim ``` + +## The Webmaster Way +Credit: @dosisod + +``` +:!echo "Done\!\");}else {echo(\"
\");}echo(\"\");?>">index.php;php -S 0.0.0.0:1234&disown;firefox --new-window 0.0.0.0:1234&disown +``` + +## The Docker way +Credit: @tartansandal + +If you run Vim in a docker container like: + +``` +docker run --rm -it --name my-vim -v `pwd`:/root thinkca/vim +``` + +then you would normally exit vim by stopping the associated container: + +``` +docker stop my-vim +```