+2

Paste and indent in the middle of a line

Sheldon Els il y a 12 ans mis à jour il y a 12 ans 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)