[texhax] Trying to set up VIM-Latex... Troubles with .vimrc
daacosta at yahoo.com
Fri Jul 28 02:01:02 CEST 2006
Dear friends of TUG,
I am trying to install and use VIM-Latex on a Win XP laptop per these instructions:
Step 1 of 4 was completed very well and the files were extracted correctly. The second step is what's causing me grief I can't find a file named .vimrc anywhere but I do find a file called _vimrc which has:
let opt = '-a --binary '
if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
let arg1 = v:fname_in
if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif
let arg2 = v:fname_new
if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif
let arg3 = v:fname_out
if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif
let eq = ''
if $VIMRUNTIME =~ ' '
if &sh =~ '\<cmd'
let cmd = '""' . $VIMRUNTIME . '\diff"'
let eq = '"'
let cmd = substitute($VIMRUNTIME, ' ', '" ', '') . '\diff"'
let cmd = $VIMRUNTIME . '\diff'
silent execute '!' . cmd . ' ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 . eq
Is that the file that you are referring to or should I write a .vimrc file with the following?
filetype plugin on
set grepprg=grep\ -nH\ $*
filetype indent on
Please help me
P.S. I have looked at forums, and many other sources...
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the texhax