vim makes me pasty when pasting

For a while its bugged me that when I paste into a vim session with all nice options turned on, it formats the crap out of it. At some point setting set noautoindent stopped fixing this problem.

Thank goodness that I found a solution, it probably exists for years but with vim sometimes knowing the right verbage is the key to a finding how to do it. (its probably been there since version 5.0)

Here is how it works for me:
  1. pre paste - :set paste
  2. paste in code/snippet/sql/guinea pig
  3. :set nopaste
Man that makes my life so much easier...

Comments

  1. Not surprisingly given the closure of land-based playing venues, an total discount in sm카지노 playing frequency and expenditure was reported in all 17 studies. Two studies assessed participants’ perceptions of the explanations or motives for the lower of their playing. In a New Zealand research, the Health Promotion Agency presented a checklist of causes to participants. A YouGov online weighted panel in Great Britain first used open-ended inquiries to assess causes for playing less after which presented a checklist [31▪].

    ReplyDelete

Post a Comment

Popular posts from this blog

BootstrapX clickover

Template Toolkit Debugging inside of Perl Dancer

2 ways to get SQLite to put dates into columns