replace specific character ^@ in a text file

2013-11-17 Thread miloody
hi all: I try to eliminate ^@ show in my vim but fail. And I type %s/^@//g %s/$.*ehci_urb_done/ehci_urb_done/g are in vain. Would anyone has the idea how to erase ^@? appreciate your help, below is excerpted from the attachment. itd_submit 34022776 1 urb d7e37200 ep2in len 5120, 10 pkts 8

Re: replace specific character ^@ in a text file

2013-11-17 Thread Nikolay Pavlov
On Nov 17, 2013 2:32 PM, milo...@gmail.com wrote: hi all: I try to eliminate ^@ show in my vim but fail. And I type %s/^@//g 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

Re: vim -d(iff) file1 file2 -- diff args?

2013-11-17 Thread Linda W
On 2013-11-15 21:25, Nikolay Pavlov wrote: On Nov 16, 2013 9:17 AM, Linda W v...@tlinx.org mailto:v...@tlinx.org wrote: in mgdiff, you can specify a mgdiff --args -w... file1 file2 to allow you to pass most args you'd want to mgdiff. :h 'diffopt'. You can use -c 'set diffopt+=iwhite' to

Re: vim -d(iff) file1 file2 -- diff args?

2013-11-17 Thread Nikolay Pavlov
On Nov 17, 2013 3:08 PM, Linda W v...@tlinx.org wrote: On 2013-11-15 21:25, Nikolay Pavlov wrote: On Nov 16, 2013 9:17 AM, Linda W v...@tlinx.org mailto:v...@tlinx.org wrote: in mgdiff, you can specify a mgdiff --args -w... file1 file2 to allow you to pass most args you'd want to

Re: replace specific character ^@ in a text file

2013-11-17 Thread miloody
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

Re: replace specific character ^@ in a text file

2013-11-17 Thread Nikolay Pavlov
On Nov 17, 2013 4:44 PM, milo...@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.

No indentation in neosnippet?

2013-11-17 Thread Ulf Kohlmorgen
Hi, i. I'm trying to get my snippets to indent correctly but it doesn't work *sigh*. An example snippet: snippet elseif options indent elseif (${1:// condition}) { ${2:// code...} }${3} My settings for the filetype are: tabstop=4 shiftwidth=4 softtabstop=4 expandtab. It

Re: replace specific character ^@ in a text file

2013-11-17 Thread Cesar Romani
On 17/11/2013 07:43 a.m., milo...@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