mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-22 21:36:29 +02:00
Merge branch 'master' into ansible_way
This commit is contained in:
commit
ad10ae186e
1 changed files with 9 additions and 7 deletions
16
README.md
16
README.md
|
@ -534,9 +534,10 @@ exit him
|
|||
how exit vim
|
||||
```
|
||||
|
||||
### Linux
|
||||
## Linux
|
||||
```vim
|
||||
:call libcallnr('libc.so.6', 'exit', 0)
|
||||
```
|
||||
|
||||
## The canonical way
|
||||
Credit: @ligurio
|
||||
|
@ -667,7 +668,7 @@ echo "set modeline" >> .vimrc
|
|||
## The Circuit Breaker Way
|
||||
Credit:@Tomcat-42
|
||||
|
||||
1. Smoothly leave your computer
|
||||
1. Leave your computer
|
||||
2. Find the nearest electrical circuit breaker panel
|
||||
3. Switch off and on the main breaker
|
||||
4. Return to your computer
|
||||
|
@ -675,11 +676,6 @@ Credit:@Tomcat-42
|
|||
|
||||
**Note:** This approach prove itself ineffective against notebooks, desktops on a UPS or remote servers.
|
||||
|
||||
## The Permanent Way
|
||||
Credit: @jofftiquez
|
||||
|
||||
***Quit software engineering for good.***
|
||||
|
||||
## The Ansible Way
|
||||
Credit: @lpmi-13
|
||||
|
||||
|
@ -714,3 +710,9 @@ run vim.yml playbook with the following contents:
|
|||
- name: Quit Vim.
|
||||
shell: "(pkill vim)"
|
||||
```
|
||||
|
||||
## The Stack Overflow Way
|
||||
Credit: @cobaltblu27
|
||||
|
||||
*Yeah exiting vim is really frustrating sometimes. You should definately try using Neovim. It's fast, has terminal emulator, and also supports plugin that will help you exit vim.*
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue