I don't understand why every time I paste something (from external programs or even textmate itself) it always indents it of at least one level.
Is it done on purpose? Any way to disable this?
Am 14.04.2008 um 12:49 schrieb andrea crotti:
I don't understand why every time I paste something (from external programs or even textmate itself) it always indents it of at least one level.
Is it done on purpose? Any way to disable this?
try hitting ctrl + cmd + v instead.
I don't understand why every time I paste something (from external programs or even textmate itself) it always indents it of at least one level.
Is it done on purpose? Any way to disable this?
Try, uncheck: Preferences -> text editing -> 're-indent...'
If that is unchecked already, then maybe there's a carriage return from a previous line (/line end) as part of the paste, which often fools me.
steven rowat
On 14 Apr 2008, at 12:49, andrea crotti wrote:
I don't understand why every time I paste something (from external programs or even textmate itself) it always indents it of at least one level.
Is it done on purpose? Any way to disable this?
Yes, it is on purpose. It tries to indent the paste to your current level.
You can disable it in Preferences or temporarily by pasting with ⌃⌘V.
But it would be interesting to know why it gets it wrong all the time for you. Are you working with Python?
Allan Odgaard ha scritto:
Yes, it is on purpose. It tries to indent the paste to your current level.
You can disable it in Preferences or temporarily by pasting with ⌃⌘V.
But it would be interesting to know why it gets it wrong all the time for you. Are you working with Python?
Yes I'm also working with python, but actually even for other languages it's not useful for me... (I disabled it globally).
When I copy and paste code from other places I normally don't want to indent it, and in case of I want I do it manually, is it weird?