+2

Paste and indent in the middle of a line

Sheldon Els vor 13 Jahren aktualisiert vor 13 Jahren 0
Paste and indent in the middle of a line tries to indent only the pasted text, and ends up inserting whitespace before the pasted text.

Normally I wouldn't be bothered, but I recently switched to using paste and indent as "default" and normal paste as the shift key binding instead. In textmate it was able to indent on paste, but realise that pastes in the middle of a line shouldn't insert whitespace before the paste, but rather before the whole line (if needed)