If I copy some code from one source file to another source file, each TABs in the original file turn out to be two SPACEs in the target file. How can I prevent this from happening? Thanks a lot
Set the indentation in the destination file to use tabs instead of spaces.
You could make a plugin that (1)pastes text then (2) converts tabs to spaces. Then just bind the plugin to control/command + V.