Select all, then Ctrl + I.
The advantage of this method when selecting some lines and then pressing Tab is that it is much faster to execute Ctrl + A , then Ctrl + I , than tabulating lines at a time. I indent automatically all the time, this is mostly in my reflex. Like conservation.
A quick google search will help you faster.
Ggrec source share