I just want to select some text and press TAB to indent the selected entire region of selected text to be indented with 4 spaces.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That will vary with your major mode. In the python mode, (which is what I think you want based on the 4 spaces thing and seeing you around on the python tag) use Ctrl–c < and Ctrl–c >
In the C major mode, just press tab and it will indent according to the rules specified in the major mode.
Also note, that directly above the mini-buffer, you will see the name of the major mode, which is normally the name of the language that you are working with. If you left click on that, you will see a list of commonly used commands and their key bindings.