Sunday, November 17, 2013

Re: replace specific character "^@" in a text file

On 17/11/2013 07:43 a.m., miloody@gmail.com wrote:
> hi Zyx
> ZyX於 2013年11月17日星期日UTC+8下午6時56分48秒寫道:
>> I guess you typed two characters: ^ and @. This is incorrect. If you
>> see such special symbols and do not know how to type them put the
>> cursor on one of them and do "yl" to yank then "CTRL-R 0" to paste.
>> This specific symbol may be inserted using CTRL-V CTRL-SPACE.
>>
> when I follow your suggestion,
> 1. yl for copy
> 2. CTRL-R 0
> after #2, vim said "Already at newest change"

You can remove those characters with:
%s/\%x0//g

--
Cesar

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: