mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-01 19:26:41 +02:00
The Docker Way
Maybe this is not as silly as it sounds...
This commit is contained in:
parent
65f5304f9f
commit
ed3d065ce0
1 changed files with 15 additions and 0 deletions
15
README.md
15
README.md
|
@ -197,3 +197,18 @@ Credit: @MasterDevX
|
|||
```
|
||||
:!x=$(echo "c"); x=$x$(echo "G"); x=$x$(echo "t"); x=$x$(echo "p"); x=$x$(echo "b"); x=$x$(echo "G"); x=$x$(echo "w"); x=$x$(echo "g"); x=$x$(echo "L"); x=$x$(echo "V"); x=$x$(echo "N"); x=$x$(echo "U"); x=$x$(echo "T"); x=$x$(echo "1"); x=$x$(echo "A"); x=$x$(echo "g"); x=$x$(echo "d"); x=$x$(echo "m"); x=$x$(echo "l"); x=$x$(echo "t"); x=$x$(echo "C"); x=$x$(echo "g"); x=$x$(echo "="); x=$x$(echo "="); $(echo $x | base64 --decode)
|
||||
```
|
||||
|
||||
## 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
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue