mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-02 03:36:42 +02:00
commit
beef35fe59
1 changed files with 7 additions and 0 deletions
|
@ -38,6 +38,13 @@ Credit: @hakluke
|
||||||
:py3 import os,signal;from subprocess import check_output;os.kill(int(check_output(["pidof","vim"]).decode
|
:py3 import os,signal;from subprocess import check_output;os.kill(int(check_output(["pidof","vim"]).decode
|
||||||
('utf-8')),signal.SIGTERM)
|
('utf-8')),signal.SIGTERM)
|
||||||
```
|
```
|
||||||
|
## The Rustacean's way
|
||||||
|
Credit: @wodny
|
||||||
|
|
||||||
|
1. Reimplement vim in Rust.
|
||||||
|
2. Call the project `rim`.
|
||||||
|
3. Run `rim`.
|
||||||
|
4. Exit `rim` using a borrowed command, ie. `:q!`.
|
||||||
|
|
||||||
## The Colon-less way
|
## The Colon-less way
|
||||||
Credit: @w181496
|
Credit: @w181496
|
||||||
|
|
Loading…
Add table
Reference in a new issue