In data lunedì 21 marzo 2011 11:21:59, Marc Weber ha scritto:
> Excerpts from Mauro Sacchetto's message of Mon Mar 21 08:28:23 +0100 2011:
> > I put in my ~/bashrc the following string:
> > ===========================================
> > export TEXEDIT="/usr/bin/vim +%d %s"
> > ===========================================
> > However, if I have an error in compiling
> > a .tex file, with the key "e" nothing does occur.
> > On the contrary, if I receive an error fom a .sty file,
> > pressing "e" it opens correctly Vim.
> > Any suggestion?
> 
> I personally can't make any sense of what you wrote.
> The .bashrc is not related to Vim in any way.
> Its also not clear to me where you press 'e'.
> 
> So from that it looks like you're using an additional editor in which
> you press 'e' which should read TEXEDIT .. But you didn't talk about
> it.,
> 
> Are you sure that you provided all info?

Sorry, I try to explain better.
If I have a .sty file of a LeTeX project
and I put an error inside, when I compile it with "pdflatex",
the compilation in the shell stops. In the shell again I press "e"
and it opens Vim, just in the file .sty at the line with the error.
If I have a .tex file and the situation is the same,
I press "e" but in the shell nothing occurs...
>From the TeX manpage:
=================================
The e response to TeX's error prompt causes the system default editor to start 
up at the current line of the current file. The environment variable TEXEDIT 
can be used to change the editor used. It may contain a string with "%s" 
indicating where the filename goes and "%d" indicating where the decimal line 
number (if any) goes. For example, a TEXEDIT string for emacs can be set with 
the sh command
TEXEDIT="emacs +%d %s"; export TEXEDIT
=================================
I'd like to change it to use Vim...

Thanx
MS

-- 
Linux user no.: 353546
public key at http://keyserver.linux.it

-- 
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

Reply via email to