4 ms·
Re (3), no, :set paste does not fix his problem.
by ezyang 13y ago
Re (3), no, :set paste does not fix his problem.
- IanCal 13y agoI've just re-read the problem, I thought he was talking about vim automatically indenting everything. It should be reasonably easy to create a function for this though, prefix each line in the buffer with 'indent(".")' spaces, or copy the whitespace at the beginning of the current line.
- merijnv 13y ago]p does, though. That pastes with adjust indentation.