mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-02 03:36:42 +02:00
Added another way
The simplest and most logical way (only for desktop users)
This commit is contained in:
parent
434b0cdfef
commit
f694f98192
1 changed files with 8 additions and 0 deletions
|
@ -831,3 +831,11 @@ echo "pub fn main() !noreturn { unreachable; }" > vimkill.zig; zig build-exe vim
|
||||||
```
|
```
|
||||||
|
|
||||||
This eventually [exhausts memory](https://github.com/ziglang/zig/issues/3461) on the machine which gives the OOM killer a chance to kill vim.
|
This eventually [exhausts memory](https://github.com/ziglang/zig/issues/3461) on the machine which gives the OOM killer a chance to kill vim.
|
||||||
|
|
||||||
|
## The simplest and most logical way (only for desktop users)
|
||||||
|
|
||||||
|
Credit: @AliAlmasi
|
||||||
|
|
||||||
|
I assume with the image below, there won't be any explanations needed.
|
||||||
|
|
||||||
|

|
||||||
|
|
Loading…
Add table
Reference in a new issue