mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-06-16 17:41:56 +02:00
added dev conditions
This commit is contained in:
parent
734ce73b1f
commit
756cfe49d8
1 changed files with 4 additions and 2 deletions
|
@ -832,10 +832,12 @@ 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 Flipper Zero / BadUSB / Ducky Script way
|
## The Flipper Zero / BadUSB / Ducky Script way
|
||||||
|
|
||||||
Credit: @0xphk
|
Credit: @0xphk
|
||||||
|
* on FlipperZero, choose correct keyboard layout first (<config)
|
||||||
|
* if using Duck Toolkit, set layout in settings
|
||||||
|
* tested on FlipperZero and WHID Cactus
|
||||||
```
|
```
|
||||||
DELAY 1000
|
DELAY 1000
|
||||||
ESCAPE
|
ESCAPE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue