:s/\search_term\/\\index{}/gc
This, with some more fudging with the replace string seems to serve my
purpose for now. Thank You. However, I was wondering if there was
already some sophisticated script or function written for this purpose
explicitly that can handle all the various situations
Hi,
I want to create an index with the makeindex program. So, I have to
markup my latex document with \index{index_term}.
Is there a script or some mechanism to do this effeciently? For example,
when I search a term, vim should take the cursor to the term and prompt
a confirmation(y/n) to index
On Tue, 5 Dec 2006, Alan G Isaac wrote:
On Mon, 4 Dec 2006, Bill McCarthy apparently wrote:
Instead of using an autocmd, you could place those maps in a
file called tex.vim in your local ftplugin directory. Place
this single line in such a file:
map buffer c-a :echo 'It worked!'CR
I did
Hi
I know vim understands character sequences that delimit comments in
various programming languages and gqap formats them appropriately.
However, while typing a reply to an e-mail, the gqap command doesn't
seem to identify the end of a paragraph in the original message because
empty lines are
On Wed, 6 Dec 2006, [EMAIL PROTECTED] wrote:
Vim may very well be able to do that with built-in commands. I use
the external paragraph reformatter 'par-1.52' for this:
For example, to format and justify this reply in vim, I used:
:','!par 66j
No, this doesn't answer my question.
My question
Hi,
I use the following autocmd in my ~/.vimrc to load a source file with my
personal vim mappings while editing a tex file:
autocmd FileType tex source ~/Dot.vilatexrc
This works fine. However, the mappings continue to exist even after I
open a different filetype without restarting vim. Is
:help usr_41.txt
should get you started.
Hope this helps.
Senthil.
On Tue, 5 Dec 2006, Jianrong Yu wrote:
2006/12/5, Taylor, Kevin [EMAIL PROTECTED]:
I have been using VIM for years to do my development and feel I am a
competent user. I have done some minor tweaks in my .vimrc but I have
Hi,
How do I find long lines in a large text file?
(I want to be able to define long lines arbitrarily.
For default, lets say, it is 80 characters.)
Thanks in advance.
Senthil.