Sunday, August 23, 2009

Re: Replacing with c... and still seeing what was there before

On Sun, Aug 23, 2009 at 9:19 AM, Nathan Huesken <vim@lonely-star.org> wrote:
I was just watching this: http://vimeo.com/6170479 and saw something, which I liked and want too :).
When he pressed "ctc" (to replace everything until the next c), vim was still showing him the word that was there before (with an $ at the end).
When I do that, the word just gets deleted and I can insert, but I can not see what was there before ...
How can I have it like him?

"him" is me :)

This is done with "set cpoptions+=$".  You can read about it at http://www.derekwyatt.org/vim/the-vimrc-file/better-settings/

Cheers,
Derek 

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

No comments: