Search & Replace

2010-04-01 Thread Kunal Bajpai
I have been using Vim for about 3-4 months and am a student web developer. I am still learning Vim and need help with a command. I am editing some web pages using web pages many a times I have to edit web pages. Here is what I want: __ Mike Gilbert Senior __

Re: Search & Replace

2010-04-01 Thread Kunal Bajpai
search & replace: __ Mike Gilbert Senior _ I hope you really got what I was asking. TIA On Thu, Apr 1, 2010 at 8:25 PM, Tim Chase wrote: > Kunal Bajpai wrote: > >> I have been using Vim for about 3-4 months and am a student

Re: Search & Replace

2010-04-05 Thread Kunal Bajpai
Thank you all for the help :) -- 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

Help: Insert text

2010-04-13 Thread Kunal Bajpai
Here is what I want to achieve: I have to insert a text after every 3 line a string. e.g. Original Text - Line01some-text some-text some-text some-text some-text Line02some-text some-text some-text some-text some-text Line03some-text some-text some-text some-text some-text Line04some-text some

CSV to SQL using Vim

2010-07-16 Thread Kunal Bajpai
I want to convert a CSV file to text file containing sql queries. Whats the approach? -- 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

Re: CSV to SQL using Vim

2010-07-16 Thread Kunal Bajpai
Thanks Marc, I cannot use gui tools to the Db and can only use phpmyadmin and I didn't find anything that imports CSV to Db or is there something, let me check. One more thing the CSV file has text that itself has commas, so should I convert it to tab separated. -- You received this message from

RegEx help

2010-09-01 Thread Kunal Bajpai
The string is (including double quotes) - "John Travolta" Samuel Jackson I want RegEx that searches the above string and treats John Travolta (between quotes) as one string and Samuel & Jackson as the other 2 string. Thus, String 1 = John Travolta String 2 = Samuel String 3 = Jackson Actually, I