Vim: pasting text without it cascading

If you’re like me and use highlight + middle click pasting in Linux a lot, you may have tried to paste text in a Vim window at some point… with surprising results. For example, highlight the following text: import re for test_string in [‘555-1212’, ‘ILL-EGAL’]: if re.match(r’^\d{3}-\d{4}$’, test_string): print test_string, ‘is a valid US local …

Vim: pasting text without it cascading Read More »