# Is there any way (keyboard shortcut) to shift an enitre piece of text?

Okay I know I've worded the question horribly. We all know to make code visible in a box e.g:

\begin{document}

We have to shift it 4 spaces to the right so that it becomes:

\begin{document}


Is there any way to shift an entire group of text to the right instead of doing it line by line, like highlighting and then pressing the space bar, etc...

one of them is {} -- that indicates "code".
highlight the lines in your answer that you want presented as code, then click on the {}. done!