Delete leading spaces vi

You can delete leading spaces in vi editor using the following command :

:%s/^\s\s*//g