Add aliases for Wq and WQ for fat finger mistakes.
I always fat finger these two and then I get an error telling me that I am doing a command that doesn't exist. I added these two so that when I fat finger it and capitalize something the program still exits like I want it to.
This commit is contained in:
parent
ded67a40b5
commit
f8b6ba2626
1 changed files with 6 additions and 0 deletions
|
|
@ -230,6 +230,12 @@ class Ex
|
||||||
wq: (args) =>
|
wq: (args) =>
|
||||||
@write(args).then => @quit()
|
@write(args).then => @quit()
|
||||||
|
|
||||||
|
Wq: (args) =>
|
||||||
|
@write(args).then => @quit()
|
||||||
|
|
||||||
|
WQ: (args) =>
|
||||||
|
@write(args).then => @quit()
|
||||||
|
|
||||||
wa: =>
|
wa: =>
|
||||||
@wall()
|
@wall()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue