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 removalThe 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 removalHow can I keep this line together when pasting?
How can I get vim to not auto-wrap pasted text?
vimrc;cut copy paste
Before pasting, do :set paste. This changes a bunch of settings like 'textwidth' and 'autoindent' for specifically this purpose. Then enter insert mode, paste with your OS, hit <Esc> to leave insert mode, and do :set nopaste.You can also toggle settings with a !, i.e. :set paste! to turn it on/off.