mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-06-17 10:01:53 +02:00
Implement Vimception
This commit is contained in:
parent
ec99bcddd5
commit
6211858140
1 changed files with 8 additions and 1 deletions
|
@ -228,7 +228,7 @@ Credit: @tartansandal
|
||||||
If you run Vim in a docker container like:
|
If you run Vim in a docker container like:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run --rm -it --name my-vim -v `pwd`:/root thinkca/vim
|
docker run --rm -it --name my-vim -v `pwd`:/root thinkca/vim
|
||||||
```
|
```
|
||||||
|
|
||||||
then you would normally exit vim by stopping the associated container:
|
then you would normally exit vim by stopping the associated container:
|
||||||
|
@ -288,3 +288,10 @@ then you would normally exit Vim by deleting the associated Kubernetes pod:
|
||||||
```
|
```
|
||||||
kubectl delete po my-vim
|
kubectl delete po my-vim
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## The Vim inside of Vim inside of Vim inside of Vim... inside of Vim way
|
||||||
|
Credit: @maxattax97
|
||||||
|
|
||||||
|
```
|
||||||
|
:while 1 | execute "terminal vim" | call feedkeys("i:terminal vim\<CR>") | endwhile
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue