I apologize if this has been brought up before.
Cutting and pasting text when in Python mode always pastes the text four spaces (my indent width) to far to the right . When pasting inside a <class>, text is pasted 8 spaces to far to the right measured from the current cursor position.
<cmd>[ shift left does not work on my norwegian key map. (<cmd>] shift right does.)
As you might imagine these two together is quite annoying ;)
regards /rune
"Never attribute to malice what can be adequately explained by incompetence"
On 22/11/2005, at 23:26, Rune Hansen wrote:
Cutting and pasting text when in Python mode always pastes the text four spaces (my indent width) to far to the right .
TextMate does re-indent of pastes (if enabled in preferences (default)).
You can either disable that, or use ctrl-cmd V when pasting (to temporarily skip it).
As to why it gets your indent wrong, I'd need to see an example (it's usually pretty good).
<cmd>[ shift left does not work on my norwegian key map. (<cmd>] shift right does.)
You can use option-tab and shift-option-tab instead. The cmd-[ is likely due to some system key taking precedence.
Thanks Allan, that solved both my problems.
regards /rune
On 22. nov. 2005, at 23.36, Allan Odgaard wrote:
On 22/11/2005, at 23:26, Rune Hansen wrote:
Cutting and pasting text when in Python mode always pastes the text four spaces (my indent width) to far to the right .
TextMate does re-indent of pastes (if enabled in preferences (default)).
You can either disable that, or use ctrl-cmd V when pasting (to temporarily skip it).
As to why it gets your indent wrong, I'd need to see an example (it's usually pretty good).
<cmd>[ shift left does not work on my norwegian key map. (<cmd>] shift right does.)
You can use option-tab and shift-option-tab instead. The cmd-[ is likely due to some system key taking precedence.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
"Never attribute to malice what can be adequately explained by incompetence"