mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-01 19:26:41 +02:00
commit
a938a27524
1 changed files with 8 additions and 1 deletions
|
@ -228,7 +228,7 @@ Credit: @tartansandal
|
|||
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:
|
||||
|
@ -288,3 +288,10 @@ then you would normally exit Vim by deleting the associated Kubernetes pod:
|
|||
```
|
||||
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
Reference in a new issue