compiler plugin for the ARM compiler

2007-04-06 Thread Sibin P. Thomas
Hi,

Is a compiler plugin for the ARM compiler (armcc) already available?
(Couldn't find it in the Vim site) 

I am basically looking for the errorformat for the ARM compiler.

Regards,
Sibin


DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Limited (MindTree) will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside. If you have received this message by mistake please notify 
the sender by return  e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.  Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.


compiler plugin for the ARM compiler

2007-04-03 Thread Sibin P. Thomas
Hi,

Is a compiler plugin for the ARM compiler (armcc) already available?
(Couldn't find it in the Vim site) 

I am basically looking for the errorformat for the ARM compiler.

Regards,
Sibin



DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Limited (MindTree) will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside. If you have received this message by mistake please notify 
the sender by return  e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.  Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.


RE: How to cut, copy and paste the VIM-way

2007-03-25 Thread Sibin P. Thomas

-Original Message-
From: Eric Leenman [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 25, 2007 3:40 PM
To: vim@vim.org
Subject: How to cut, copy and paste the VIM-way

Hi,

I'm used to cut, copy and paste the windows-way.
Meaning, selecting text and then press CTRL-X, CTRL-C or CTRL-V.

In VIM (and correct me if I'm wrong) you
yank (y) for copy
put (p) for paste
. for cut

With this in mind, how to cut, copy and paste the VIM-way?
Because when I select text and see select-mode in the lowest line
and then press y, I see a letter y in my text and the selected text is gone.
How come?

Rgds,
Eric

_
Get a FREE Web site, company branded e-mail and more from Microsoft Office 
Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/




When you press y after selecting text you will replace the entire text with
the y; this is because you are in the select mode. This is the kind of
behaviour you would get in, lets say Notepad or most other editors.

What you want is, to be in the visual mode before pressing y.
There are two ways - 
1. After selecting text (you can see a '---SELECT---' at the bottom of your
screen.) press CTRL-g, that is 'Ctrl + g' to toggle between visual and
select mode.
:h v_CTRL-G

2. Whenever you select text you can directly enter visual mode by default,
instead of the select mode by setting the 'selectmode' options appropriately.
:h selectmode

Regards,
Sibin


DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Limited (MindTree) will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside. If you have received this message by mistake please notify 
the sender by return  e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.  Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.


RE: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread Sibin P. Thomas

-Original Message-
From: cga2000 [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 26, 2007 10:28 PM
To: vim@vim.org
Subject: Re: How do I make the current working directory follow the active
document in Gvim?

On Sun, Feb 25, 2007 at 07:57:39PM EST, A.J.Mechelynck wrote:
[..]
 
 - To change (once) to the dir of the current file
 
   :cd %:p:h

Nice. 

But I'm not going to remember it until I understand it.

I scoured the :help files but couldn't find and explanation of the
syntax. 

:p is short for :print and :h is help.

So there's two things I don't know:

1. The symbolic (?) language you are using - the same that's used when
   scripting vim, I would imagine.

2. How to use vim's help efficiently 

:-)

Thanks,

Cga



2. How to use vim's help efficiently -- try :help topic.
If that doesn't give you what you want try - :helpgrep topic (followed by
:cwin if needed).

Try :helpgrep %:p:h  you will find the meaning of %:p:h


Regards,
Sibin


DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Limited (MindTree) will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside. If you have received this message by mistake please notify 
the sender by return  e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.  Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.


search command in visual mode - how to?

2007-02-13 Thread Sibin P. Thomas
Hi all, 

I am stuck in one of my scripting attempts!

The context :
Suppose I want to delete the string bio from the following line The
biosphere is huge and I want to do it in this way -
/biosCR
vCR
//eCR
dCR

Now I want to do the same thing, but conditionally...basically I want to use
the :if construct.
I tried - :if (@0=~something) | exe /bios | exe normal v | exe //e |
endif
This where I am stuck; I am not able to reproduce the effect of //eCR
through the :if construct.

In this case I get the error e481: No range allowed and if I try - exe
normal //e it just stays in visual mode doing nothing.

Can anyone help me out here? This is going to play a huge part in most of my
scripts!

Regards,
Sibin



DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Limited (MindTree) will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside. If you have received this message by mistake please notify 
the sender by return  e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.  Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.


RE: search command in visual mode - how to?

2007-02-13 Thread Sibin P. Thomas
Thanks a lot Charles and Tim for providing me the answer.
(It really was just the case of missing the \r or \cr)

And surely there was no necessity for such complex steps for this particular
example, but it was just an indicative example of one of the steps I needed
for my script. But rest assured I really do need this.

Regards,
Sibin

-Original Message-
From: Charles E Campbell Jr [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 14, 2007 12:31 AM
To: Sibin P. Thomas
Cc: vim@vim.org
Subject: Re: search command in visual mode - how to?

Sibin P. Thomas wrote:

Hi all, 

I am stuck in one of my scripting attempts!

The context :
Suppose I want to delete the string bio from the following line The
biosphere is huge and I want to do it in this way -
/biosCR
vCR
//eCR
dCR

Now I want to do the same thing, but conditionally...basically I want to use
the :if construct.
I tried - :if (@0=~something) | exe /bios | exe normal v | exe //e
|
endif
This where I am stuck; I am not able to reproduce the effect of //eCR
through the :if construct.

In this case I get the error e481: No range allowed and if I try - exe
normal //e it just stays in visual mode doing nothing.

Can anyone help me out here? This is going to play a huge part in most of my
scripts!
  

Several notes

1. exe /bios might fail.  You probably should use  the search() function:
  if search('bios')
   ...
  endif

2. bios might be part of a word (example: symbiosis) and get found 
when you don't want it to be.
  Perhaps   search('\bios')  would be better?

3. Why not do the search  substitute directly from ex?
   /\bios/s///

4. If for some odd reason you feel you absolutely must use visual mode 
for this, then try
   exe norm! v//e\crd

Regards,
Chip Campbell



DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Limited (MindTree) will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside. If you have received this message by mistake please notify 
the sender by return  e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.  Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.


how do u visually select a search pattern?

2007-02-08 Thread Sibin P. Thomas
Hi all,

How can one visually select a pattern which is searched for?

In the following text : 
get_register_primitive 7
get_register_test_case_primitive 8

parameters 
address--- variable
-

set_register_primitive 11

parameters
set_reg--- variable
-
reg_resp_primitive 9
reg_resp_test_case_primitive 10

parameters
decode_reg--- variable
-



I would like to search for the pattern para\_.\{-}variable. When I am on
the highlighted selections (3 pairs of lines in this case), I would like to
yank the highlighted portion to a register (for evaluation etc).


Regards,
Sibin



DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Limited (MindTree) will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside. If you have received this message by mistake please notify 
the sender by return  e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.  Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.


RE: how do u visually select a search pattern?

2007-02-08 Thread Sibin P. Thomas
True, this will work for the present case.
But what I exactly wanted was to visually select whatever is highlighted due
to the previous search, to be precise only one of the matches at a time.

For instance if my search string were para\_.\{-}var (notice that I am not
searching for an entire word), I want to visually select only the part
highlighted by the search operation.

Regards,
Sibin

-Original Message-
From: Michael Brailsford [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 08, 2007 10:10 PM
To: Sibin P. Thomas
Subject: Re: how do u visually select a search pattern?

:set hlsearch

This will highlight all matches of the previous match pattern.

For yanking, search for para the press v, then search for variable, then
press wy.  That will highlight from the beginning of para to the end of
variable.

-Michael

- Original Message 
From: Sibin P. Thomas [EMAIL PROTECTED]
To: Vim Mailing List vim@vim.org
Sent: Thursday, February 8, 2007 10:29:52 AM
Subject: how do u visually select a search pattern?

Hi all,

How can one visually select a pattern which is searched for?

In the following text : 
get_register_primitive 7
get_register_test_case_primitive 8

parameters 
address--- variable
-

set_register_primitive 11

parameters
set_reg--- variable
-
reg_resp_primitive 9
reg_resp_test_case_primitive 10

parameters
decode_reg--- variable
-



I would like to search for the pattern para\_.\{-}variable. When I am on
the highlighted selections (3 pairs of lines in this case), I would like to
yank the highlighted portion to a register (for evaluation etc).


Regards,
Sibin



DISCLAIMER:
This message (including attachment if any) is confidential and may be
privileged. Before opening attachments please check them for viruses and
defects. MindTree Consulting Limited (MindTree) will not be responsible for
any viruses or defects or any forwarded attachments emanating either from
within MindTree or outside. If you have received this message by mistake
please notify the sender by return  e-mail and delete this message from your
system. Any unauthorized use or dissemination of this message in whole or in
part is strictly prohibited.  Please note that e-mails are susceptible to
change and MindTree shall not be liable for any improper, untimely or
incomplete transmission.





DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Limited (MindTree) will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside. If you have received this message by mistake please notify 
the sender by return  e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.  Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.


RE: how do u visually select a search pattern?

2007-02-08 Thread Sibin P. Thomas
Yup that was useful, but I am stuck at the next step of my quest.

I visually select the search pattern using //crv//ecr, then yank it to
a register - say 0 (0yy).
After that, I want to evaluate the yanked text to delete the highlighted part
if it meets a condition, as in -
:if (!(@0=~set_reg)) | exe normal // | exe normal v | exe normal //e
| exe normal d| endif

But here instead visually selecting and deleting the match this command gets
stuck at - exe normal v; i.e. it gets into the visual mode but fails to do
the next set of commands.
What should it be instead of - exe normal //e ?

Regards,
Sibin

-Original Message-
From: Tim Chase [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 08, 2007 10:40 PM
To: Sibin P. Thomas
Cc: Vim Mailing List
Subject: Re: how do u visually select a search pattern?

 I would like to search for the pattern para\_.\{-}variable.
 When I am on the highlighted selections (3 pairs of lines in
 this case), I would like to yank the highlighted portion to a
 register (for evaluation etc).


Well, it's not quite what you describe, but it's like the n/N 
functionality for finding the *next* (or previous) match and 
highlighting it:

:nnoremap f4 //crv//ecr
:nnoremap f5 ??ecrv??cr

It might also be handy to have some visual-mode mappings such as

:vmap f4 escf4
:vmap f5 escf5

So you can continue forward/backward in your searching.

Getting it to highlight the results immediatedly after searching 
is a considerably more difficult stunt.  Doable, but not without 
a number of crazy stunts and mindbendingly opaque mappings.  At 
least from my determination of matters.  YMMV ;)

HTH,

-tim






DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Limited (MindTree) will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside. If you have received this message by mistake please notify 
the sender by return  e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.  Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.


RE: How can I do to always opening files into a tab ?

2007-01-16 Thread Sibin P. Thomas
-Original Message-
From: Eddine [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 14, 2007 5:06 PM
To: Vim Mailing List
Subject: How can I do to always opening files into a tab ?

Hello Vimmers !

I got few questions for vim under win32 (XP)

- How can I do to _always_ open files into its own tab  ?
   -- Also is there a way to set an option so this tip also runs with
the Edit with Vim context menu.

- Is there an option so when a file is vertically splitted, scrolling
down and up, keeps both left and right panel on the same line, in a
way is there a mean to synchronize the up and down scrolling of both
views ?


Hope I have been clear enough with my questions.

Many thanks
and regards !

Eddine.



Hi,

This is what I do to open files in their own tabs -
1. I browse my working directory with the :Vexplore feature of Vim. When I
come across the file I want to open all I do is type gf when I am over it.
The following line in my vimrc file is the one that does the trick - 
nmap gf c :tabe cfileCR
2. go to ur SendTo folder most likely to be at C:\Documents and
Settings\your login name\SendTo and by default this folder is hidden.
Once u are there right click and create a new shortcut. When it asks for
location type this - 
C:\Program Files\Vim\vim70\gvim.exe --servername GVIM --remote-tab-silent
(maybe the location of ur gvim is different) and then give it a name u like;
and voila u can right click on any file and send it to it's own tab in gvim.

Regards,
Sibin


DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Limited (MindTree) will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside. If you have received this message by mistake please notify 
the sender by return  e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.  Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.


RE: your best vim scripting tip

2006-12-05 Thread Sibin P. Thomas
Hi,

While we are at the subject of tips for budding Vim scripters -
I had created this mapping --

nmap com ^:if search('\/\*.*\*\/','c',line(.))!=0CR
:.s/\/\*\(.*\)\*\//\1/gCR :elseCR
:.s/\(\s*\)\(.*\)\(\s*\)/\1\/\*\2\*\/\3/gCR :endifCR :nohCR

this command basically toggles C-style commenting on a line i.e. if the line
wasn't commented it comments out the entire line and vice-versa. I spent an
intense hour of exploring the help pages and plenty of effort in trial and
error before I could reach the 'Eureka' moment.

What I wanted to know is could the same functionality have been achieved by a
better sequence of commands? Can an experienced 'vimmer' do better?

 
Regards,
Sibin
 

-Original Message-
From: Mikolaj Machowski [mailto:[EMAIL PROTECTED] 
Sent: Sunday, December 03, 2006 7:18 PM
To: vim@vim.org
Subject: Re: your best vim scripting tip

On nie gru 3 2006, vim@vim.org wrote:
 Hi,
 It you should give one (or more) tips to a person who was going to
 start creating scripts for vim, then what would it be?
 (besides know your :help :-) )

 ideas could be:
 Do's and dont's

Keep ff=unix . In other case your scripts won't be working under non
windows systems.

Always supply modeline to make sure basic editing things will be working
for others.

When changing options use setlocal not set - be polite to user
environment.

Try to cut on g:variables (see above).

Try to maintain documentation, not only for use of script but also for
messing with it.

 best util script

Each script covers only part of Vim functionality. It is hard to say
which one is best for learning.

 often used functions

It depends on what are you want to achieve.

 ways of optimization

Avoid \| in complex regexps, often two, separate substite() are
faster than one substite() with \|.

Avoid * whenever possible, try to use \+ if appropriate.

\x class is faster than [collection]

When doing complex substitutions it is often faster to check if some
part of pattern already exists and only if this is true execute
substitution.

m.
-- 
I am social scientist - I don't know the difference between good and
bad, only the difference between difference.



DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Limited (MindTree) will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside. If you have received this message by mistake please notify 
the sender by return  e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.  Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.


RE: vim | multiple files editing and delete question

2006-09-14 Thread Sibin P. Thomas
If u have Cygwin then creating a batch file with the following would be the
simplest solution -

set TARGETDIR=C:\something
set SCRIPTDIR=C:\something_else
find %TARGETDIR% -name *.[ch] -exec gvim -s %SCRIPTDIR%\win32_vimscript.vim
{} ;

Basically use find to help u (actually it's just one instruction, so u
don't even need to have a batch file for it)

Regards,
Sibin

-Original Message-
From: Nikolaos A. Patsopoulos [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 14, 2006 3:31 PM
To: vim@vim.org
Subject: vim | multiple files editing and delete question

Hi,

I have a series of questions:


1. I want to edit multiple files from command line so I created a vim 
script with all the commands (20). I use a batch file in WinXP:

|@echo off
vim -s script file.txt
exit


however I need to run this script on multiple files. In vim's help there is
this code for use in bash(?) shell

||for file in *.txt; do|
| vim -e -s $file  change.vim|
| lpr -r tempfile|
|done

however it doesn't seem to work under Cygwin.



2.Can I delete after a pattern search? Sth like this:

:/^html\_.{-}body: /-3d

and how can I repeat this globally? 

3. This is not Vim related but I wonder if anyone knows sth. I have the
following structure of folders and files:

..
folder1
file1
file2
folder2
file1
file2
.


and want to add the folder name into the filename:
||

folder1
||folder1|_|file1
||folder1|_|||file2
folder2
||folder2|_|||file1
||folder2|_|||file2



Thanks in advance, 
Nikos
|

-
Disclaimer
-

This message(including attachment if any)is confidential and may be 
privileged.Before opening attachments please check them
for viruses and defects.MindTree Consulting Private Limited (MindTree)will not 
be responsible for any viruses or defects or
any forwarded attachments emanating either from within MindTree or outside.If 
you have received this message by mistake please notify the sender by return  
e-mail and delete this message from your system. Any unauthorized use or 
dissemination of this message in whole or in part is strictly prohibited.  
Please note that e-mails are susceptible to change and MindTree shall not be 
liable for any improper, untimely or incomplete transmission.

-

RE: quick and dirty compile

2006-09-06 Thread Sibin P. Thomas
I have tested it and it works without any hitch on my system.

(WinXp SP2 with Cygwin)

Regards,
Sibin

-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 06, 2006 12:55 PM
To: Sibin P. Thomas
Cc: Yegappan Lakshmanan; vim@vim.org
Subject: Re: quick and dirty compile

Sibin P. Thomas wrote:
 Thank a lot to everyone!
 I added the following to my _vimrc file to get what I wanted
 
 nmap C-F9 :MakecompileCR
 nmap F5 :MakexecCR :!%.exeCR
 command Makecompile :se makeprg=gcc\ -o\ %.o\ % | :make!
 command Makexec :se makeprg=gcc\ -o\ %\ % | :make!
 
 Regards,
 Sibin


We're not within a makefile: I don't believe % will be interpreted. 
Passing %.o (with % interpreted by Vim) to the shell would mean the 
current file, and read stdio from a file named .o. Use %:r.o or, if it 
doesn't work,

command Makexec -nargs=0 -bar
\ exe 'set makeprg=gcc\ -o\ '
\ . fnamemodify(expand('%'),':p:r')
\ . '.o\ '
\ . expand('%')
\ | make!

with single quotes to avoid interpretation of backslashes before the 
:set command.

See :help filename-modifiers


Best regards,
Tony.
-
Disclaimer
-

This message(including attachment if any)is confidential and may be 
privileged.Before opening attachments please check them
for viruses and defects.MindTree Consulting Private Limited (MindTree)will not 
be responsible for any viruses or defects or
any forwarded attachments emanating either from within MindTree or outside.If 
you have received this message by mistake please notify the sender by return  
e-mail and delete this message from your system. Any unauthorized use or 
dissemination of this message in whole or in part is strictly prohibited.  
Please note that e-mails are susceptible to change and MindTree shall not be 
liable for any improper, untimely or incomplete transmission.

-

quick and dirty compile

2006-09-05 Thread Sibin P. Thomas
Hi,

Could someone let me know how to quickly compile my current buffer? I want a
key map like 
nmap F5 x to do -- gcc -o current_file.o current_file.c
also another map to make an executable, like
nmap F5 x to do -- gcc -o current_file current_file.c

Also it would be convenient if this command could give a list of errors like
:make.

Regards,
Sibin
-
Disclaimer
-

This message(including attachment if any)is confidential and may be 
privileged.Before opening attachments please check them
for viruses and defects.MindTree Consulting Private Limited (MindTree)will not 
be responsible for any viruses or defects or
any forwarded attachments emanating either from within MindTree or outside.If 
you have received this message by mistake please notify the sender by return  
e-mail and delete this message from your system. Any unauthorized use or 
dissemination of this message in whole or in part is strictly prohibited.  
Please note that e-mails are susceptible to change and MindTree shall not be 
liable for any improper, untimely or incomplete transmission.

-

RE: Execute something when I enter in a directory

2006-09-05 Thread Sibin P. Thomas
Use 
:se exrc in ur _vimrc file
And then create a _vimrc file local to the directory in question.
Check help for more details.

Regards,
Sibin

-Original Message-
From: Andrea Spadaccini [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 05, 2006 3:17 PM
To: vim@vim.org
Subject: Execute something when I enter in a directory

Hello vimmers,
I'd like to load some settings when I enter in a directory, like for
instance setting makeprg.

Is there a way to do it?
Thanks in advance from a lurker! :)

-- 
[ Andrea Spadaccini - a.k.a. Lupino - from Catania - ICQ #: 91528290 ]
[ GPG ID: 5D41ABF0 - key on keyservers - Gentoo GNU / Linux - 2.6.16 ]
[ Linux Registered User 313388 - @: a.spadaccini(at)catania.linux.it ]
-
Disclaimer
-

This message(including attachment if any)is confidential and may be 
privileged.Before opening attachments please check them
for viruses and defects.MindTree Consulting Private Limited (MindTree)will not 
be responsible for any viruses or defects or
any forwarded attachments emanating either from within MindTree or outside.If 
you have received this message by mistake please notify the sender by return  
e-mail and delete this message from your system. Any unauthorized use or 
dissemination of this message in whole or in part is strictly prohibited.  
Please note that e-mails are susceptible to change and MindTree shall not be 
liable for any improper, untimely or incomplete transmission.

-

RE: Vim and cscope

2006-08-03 Thread Sibin P. Thomas


Could someone help me here; I tried what Dave suggested but with no success.

Regards,
Sibin

 -Original Message-
 From: Sibin P. Thomas [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 31, 2006 6:25 AM
...
 I tried integrating Cscope 15.4 with Vim7.0 on WinXP (I have 
 installed cygwin too); but whenever I try to use cscope in 
 Vim I get the following error - 
 
 E623: Could not spawn cscope process.

Sounds like you are using the cscope from the open source project.

You need a special version of cscope that is integrated with Vim.
:h cscope-info

Will point you to different downloads locations.

Since you are on win32, you need to download it from:
http://iamphet.nm.ru/cscope/index.html
:h cscope-win32

HTH,
Dave

-
Disclaimer
-

This message(including attachment if any)is confidential and may be 
privileged.Before opening attachments please check them
for viruses and defects.MindTree Consulting Private Limited (MindTree)will not 
be responsible for any viruses or defects or
any forwarded attachments emanating either from within MindTree or outside.If 
you have received this message by mistake please notify the sender by return  
e-mail and delete this message from your system. Any unauthorized use or 
dissemination of this message in whole or in part is strictly prohibited.  
Please note that e-mails are susceptible to change and MindTree shall not be 
liable for any improper, untimely or incomplete transmission.

-

Vim and cscope

2006-07-31 Thread Sibin P. Thomas








Hi,



I tried integrating Cscope 15.4 with Vim7.0 on WinXP (I have
installed cygwin too); but whenever I try to use cscope in Vim I get the
following error - 

E623: Could not spawn cscope process.



Has anyone come across this problem before and more
importantly found a solution?



Regards,

Sibin








-
Disclaimer
-

This message(including attachment if any)is confidential and may be 
privileged.Before opening attachments please check them
for viruses and defects.MindTree Consulting Private Limited (MindTree)will not 
be responsible for any viruses or defects or
any forwarded attachments emanating either from within MindTree or outside.If 
you have received this message by mistake please notify the sender by return  
e-mail and delete this message from your system. Any unauthorized use or 
dissemination of this message in whole or in part is strictly prohibited.  
Please note that e-mails are susceptible to change and MindTree shall not be 
liable for any improper, untimely or incomplete transmission.

-

RE: Vim and cscope

2006-07-31 Thread Sibin P. Thomas
Thanks for the reply, but the problem persists.
Is there somehow I could get hold of the source of this version of cscope?

Regards,
Sibin




-Original Message-
From: David Fishburn [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 31, 2006 6:12 PM
To: Sibin P. Thomas
Cc: vim@vim.org
Subject: RE: Vim and cscope

 

 -Original Message-
 From: Sibin P. Thomas [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 31, 2006 6:25 AM
...
 I tried integrating Cscope 15.4 with Vim7.0 on WinXP (I have 
 installed cygwin too); but whenever I try to use cscope in 
 Vim I get the following error - 
 
 E623: Could not spawn cscope process.

Sounds like you are using the cscope from the open source project.

You need a special version of cscope that is integrated with Vim.
:h cscope-info

Will point you to different downloads locations.

Since you are on win32, you need to download it from:
http://iamphet.nm.ru/cscope/index.html
:h cscope-win32

HTH,
Dave

-
Disclaimer
-

This message(including attachment if any)is confidential and may be 
privileged.Before opening attachments please check them
for viruses and defects.MindTree Consulting Private Limited (MindTree)will not 
be responsible for any viruses or defects or
any forwarded attachments emanating either from within MindTree or outside.If 
you have received this message by mistake please notify the sender by return  
e-mail and delete this message from your system. Any unauthorized use or 
dissemination of this message in whole or in part is strictly prohibited.  
Please note that e-mails are susceptible to change and MindTree shall not be 
liable for any improper, untimely or incomplete transmission.

-