Thursday, December 1, 2011

If I copy multi line text to clipboard how do I know use that in vim for replace text in search/replace?

I want to try to force myself to use vim (MacVim) as my primary project editor but this is holding me back...

I often will find a multi line snippet of text that I'd like to then replace in multiple files in my project after a certain block of text (maybe it's some javascript for example so I'll want the multiple lines pasted after the initial <script> tag.)

How do I do this easily in vim (or MacVim/gVim if those gui editors on top can help?)

This is so easy in any of the editors (jEdit, my IDEs Intellij/Eclipse, TextMate, BBedit, etc.) so I figure there must be something I'm missing? Thanks for any tips here.

--
Rick R

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: