mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-06-17 18:11:56 +02:00
The debugger way
This commit is contained in:
parent
cf9185a1df
commit
7caa68c9cb
1 changed files with 7 additions and 3 deletions
10
README.md
10
README.md
|
@ -356,12 +356,16 @@ Credit: @johnoct
|
|||
## The debugger way
|
||||
Credit: @serjepatoff
|
||||
|
||||
### Linux
|
||||
Linux
|
||||
```
|
||||
$ gdb `which vim`
|
||||
(gdb) r <Enter>
|
||||
Ctrl-Z q <Enter> y <Enter>
|
||||
|
||||
### Mac
|
||||
```
|
||||
|
||||
Mac
|
||||
```
|
||||
$ lldb `which vim`
|
||||
(lldb) r <Enter>
|
||||
Ctrl-C q <Enter> <Enter>
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue