Added wq. Added custom wc which writes for copy to clipboard

This commit is contained in:
2018-11-20 18:04:23 +08:00
parent 17c4cc4d18
commit 4462d7ba3d
3 changed files with 40 additions and 3 deletions
@@ -68,7 +68,14 @@
out[ CMD_TYPE ] = "BUFFERS";
break;
case "w":
case "wq":
case "wc":
case "write":
if( command == "wq" || command == "wc" )
{
// This puts the "q" / "c" into CMD_ARGS
i --;
}
out[ CMD_TYPE ] = "WRITE";
break;
case "q":