mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-01 11:17:12 +02:00
fix markdown markup (and whitespace)
This commit is contained in:
parent
30077d63c5
commit
03b4185137
1 changed files with 3 additions and 7 deletions
|
@ -19,7 +19,6 @@ Credit: @tomnomnom
|
|||
:!kill -9 $(find /proc -name "cmdline" 2>/dev/null | while read procfile; do if grep -Pa '^vim\x00' "$procfile" &>/dev/null; then echo $procfile; fi; done | awk -F'/' '{print $3}' | sort -u)
|
||||
```
|
||||
|
||||
|
||||
## The ps-less way using status files
|
||||
Credit: @hakluke
|
||||
|
||||
|
@ -143,9 +142,9 @@ $ timeout $RANDOM vim
|
|||
## The Shoot First, Ask Questions Later way
|
||||
Credit: @aliva
|
||||
|
||||
```
|
||||
```bash
|
||||
$ ps axuw | awk '{print $2}' | grep -v PID | shuf -n 1 | sudo kill -9
|
||||
|
||||
```
|
||||
|
||||
## The "all against the odds" Russian Roulette way
|
||||
Credit: @cfrost
|
||||
|
@ -160,7 +159,6 @@ Credit: @eyemyth
|
|||
|
||||
Accumulate a sufficient amount of entropy.
|
||||
|
||||
|
||||
## The reboot way
|
||||
Credit: @tctovsli
|
||||
In `vi`:
|
||||
|
@ -200,7 +198,6 @@ Touch `quit vim` text in your touch bar
|
|||
|
||||
Press <kbd>⌘</kbd>+<kbd>q</kbd> > Click `Terminate`
|
||||
|
||||
|
||||
## The Passive Way
|
||||
|
||||
_**Walk away.**_
|
||||
|
@ -355,7 +352,6 @@ Credit: @penelopezone
|
|||
:!sudo dd if=/dev/urandom of=/dev/kmem
|
||||
```
|
||||
|
||||
|
||||
## The Android way
|
||||
Credit: @deletescape
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue