I am pasting several lines of text into vim at once (from another application, so I am using the OS's copy and paste and insert mode in vim). The longest of these lines is below:
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
The problem with this line is that vim inserts a new line after "to" so it looks like this:
" :PluginClean - confirms removal of unused plugins; append `!` to
" auto-approve removal
How can I keep this line together when pasting?
:set paste. See also http://vi.stackexchange.com/questions/328/set-the-paste-option-but-for-one-insertion-only and http://vi.stackexchange.com/questions/730/how-can-i-copy-paste-new-text-without-auto-indentation-at-every-new-line. – derobert Feb 19 '15 at 16:57