From f8b6ba26266e6616fb71d51aca2a4f7ddf1388f2 Mon Sep 17 00:00:00 2001 From: Nate Holland Date: Wed, 17 Feb 2016 15:19:56 -0600 Subject: [PATCH] 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. --- lib/ex.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ex.coffee b/lib/ex.coffee index be1ba80..223504b 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -230,6 +230,12 @@ class Ex wq: (args) => @write(args).then => @quit() + Wq: (args) => + @write(args).then => @quit() + + WQ: (args) => + @write(args).then => @quit() + wa: => @wall()