mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-01 11:17:12 +02:00
Use vim against itself with @
This commit is contained in:
parent
3ffe812d18
commit
4653b539a9
1 changed files with 6 additions and 0 deletions
|
@ -75,3 +75,9 @@ In `vi`:
|
||||||
:!sudo reboot
|
:!sudo reboot
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Execute the buffer
|
||||||
|
Open Vim to empty buffer and type:
|
||||||
|
```
|
||||||
|
i:qa!<esc>:@"<cr>
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue