Syntax Highlighting problem

2006-05-10 Thread Jerin Joy
Hi, I use gvim as my default editor. My source files are in a non standard language whose syntax is similar to Verilog. When I open files from command line in independent gvim windows the syntax highlighting uses the verilog syntax which is what I want. The only thing is when I use the split comm

Shell support in Vim?

2006-05-10 Thread Jerin Joy
Hi, I was just wondering if adding shell support to vim is a feature thats being considered. It would be great to be able to run commands from vim instead of having to shift to terminal to do so. I've seen vim shell but its a separate plugin: http://www.wana.at/vimshell/ Jerin -- http://jerinj.b

Re: Shell support in Vim?

2006-05-10 Thread Jerin Joy
o add this functionality to vim. thanks, Jerin On 5/10/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Jerin Joy wrote: > I was just wondering if adding shell support to vim is a feature thats > being considered. It would be great to be able to run commands from > vim instead o

differences in regexp replace

2006-06-18 Thread Jerin Joy
Hi, I have the same version of vim installed on two different machines. The file I want to edit contains inputsignala; input signalb; I wanted to have just signala, signalb on a line so that the file looks like: signala signalb I used the regexp replace: :%s/input[\ ]\+/ /g It w

Re: differences in regexp replace

2006-06-19 Thread Jerin Joy
hi, It was actually a \t and not a space. thanks! Jerin On 6/19/06, Andrei A. Voropaev <[EMAIL PROTECTED]> wrote: On Mon, Jun 19, 2006 at 12:20:10PM +0530, Jerin Joy wrote: > Hi, > > I have the same version of vim installed on two different machines. > The file I want to edi

Copying from vim to a term

2006-06-20 Thread Jerin Joy
Hi, I have a vim window open with a file in a terminal. I wanted to copy some text to another terminal. FIrst problem is my select. I hit the Ctrl+V to go into visual mode on a line, then hitting the Shift key and moving up and down does not select the lines below or above it. So I select with my

Replace all on a line

2006-06-26 Thread Jerin Joy
Hi. The replace all option 'g' doesn't seem to be working in my case. It replaces only the first occurrence on a line. for eg. in the following line I wanted to remove the extra whitespaces between input [] and the name of the variable: task init (input [1:0] u, input [3:0]hash, input [3:0

Re: Replace all on a line

2006-06-26 Thread Jerin Joy
be hardcoded in my settings? I'm running vim 6.4.6 the default version with ubuntu 6.06. Jerin On 6/26/06, Matthew Winn <[EMAIL PROTECTED]> wrote: On Mon, Jun 26, 2006 at 04:48:25PM +0530, Jerin Joy wrote: > The replace all option 'g' doesn't seem to be work

Re: Replace all on a line

2006-06-26 Thread Jerin Joy
maybe the 'gdefault' option is on. What does :verbose set gdefault? output? it doesn't output anything. Cursor just comes back to the file. Jerin Regards, Jürgen -- Jürgen Krämer Softwareentwicklung HABEL GmbH & Co. KGmailto:[EMAIL PROT

Re: Replace all on a line

2006-06-26 Thread Jerin Joy
Sorry, missed the ?. gdefault was the problem, it was set in my settings.vim file. thanks! Jerin On 6/26/06, Jürgen Krämer <[EMAIL PROTECTED]> wrote: Hi, Jerin Joy wrote: > > maybe the 'gdefault' option is on. What does > > > > :verbose set gdefault?

regexp select and place elsewhere

2006-06-29 Thread Jerin Joy
Hi, I have data that looks like this input [4:0] a.b.c.d; which I need to replace with input a.b.c.d [4:0] d; ie. I want to copy a.b.c.d and place it after input and replace it with d after [4:0]. I'm fairly comfortable with regexp but I'm not sure how to select and copy the text to another pl

Re: regexp select and place elsewhere

2006-06-29 Thread Jerin Joy
I need to use regexp. there are a lot of lines like these. I can't manually do it. Jerin On 6/29/06, Saurabh Jain <[EMAIL PROTECTED]> wrote: On 6/29/06, Jerin Joy <[EMAIL PROTECTED]> wrote: > Hi, > > I have data that looks like this > > input [4:0] a.b.c.d

Re: regexp select and place elsewhere

2006-06-29 Thread Jerin Joy
Thanks guys, I was looking for the () Jerin On 6/29/06, Vishnu <[EMAIL PROTECTED]> wrote: Hi Jerin, Use the following reg exp, :%s/\(\[\d\+:\d\+] \)\(.*\.\)\(\i\+\);/\2\3 \1\3;/ :h \( ~VIshnu > -Original Message- > From: Jerin Joy [mailto:[EMAIL PROTECTED] > Sent:

Not able to switch between tabs on newly compiled vim 7

2006-06-29 Thread Jerin Joy
Actually I installed vim7.0(on Linux Enterprise Edition). I am unable to switch between various tabs using CTRL-PAGEUP and CTRL-PAGEDN when i am using vim. It is working perfectly fine for gvim. My compiling options are appended. Compiled by [EMAIL PROTECTED] Normal version with GTK2 GUI. Featu

Search all text files in a directory for text

2006-08-18 Thread Jerin Joy
Hi, I have a lot of source code distributed over a directory hierarchy structure. I always need to find class declarations, instances where variables are set etc. Usually I just go to command line and run something like find . -name "*.vr" -print | xargs grep 'class foo' Isn't there an easier wa