I have tried to copy/paste my code into my code editor on my MAC. However, it auto indents everything. Is there a way to un-indent multiple lines at once?
Asked
Active
Viewed 6,538 times
3 Answers
1
This really depends on what's the editor you are using. If it's vi/vim, just type :set paste before pasting the code.
chuchao333
- 121
0
If you are using python IDLE just ctrl+H-> check Regular expression ->Enter ^\t -> Replace All .... done :).
0
Try command+[ or command+] after you've selected the lines That at least works for me in IDLE.
Atticus29
- 237