Re: [Vim-latex-devel] Log file reloading on compilation
Brought to you by:
srinathava,
tmaas
From: Julien C. <jul...@gm...> - 2011-01-26 10:45:58
|
Maybe putting the setting it in a file-type file for *.log via ftplugin or, much simpler, in global but using autocommand: you may try autocmd BufRead *.log set ar (no guarantee, haven't tried) Hope this helps! Julien On Tue, Jan 25, 2011 at 9:50 PM, martin throw <mar...@gm...> wrote: > Thanks for the comment, that works but I was hoping to not set the > autoreload behavior globally, but only on the loaded log file. But I guess > it is not a big deal to have the autoreload behavior to be global. > > Thanks > > On Mon, Jan 24, 2011 at 11:34 PM, Julien Cornebise > <jul...@gm...> wrote: >> >> Did you try >> set ar >> ? >> Best regards >> >> Julien >> >> On Tue, Jan 25, 2011 at 3:18 AM, martin throw <mar...@gm...> >> wrote: >> > Hi, >> > >> > Every time I compile using \ll (with multiple passes), the corresponding >> > log >> > file gets loaded into the buffer. >> > It gets distracting when I recompile again as VIM warns about the file >> > changing since editing started (W11). Is there a missing autoreload >> > behavior >> > for opening the log file? >> > >> > I am using gVim on Windows with the latest vim-latex suite package. >> > Below is >> > my vimrc file >> > >> > Thanks! >> > >> > >> > set expandtab >> > set tabstop=2 >> > set shiftwidth=2 >> > set autoindent >> > set smartindent >> > set number >> > set hidden >> > colorscheme rdark >> > set so=5 >> > set wrap linebreak textwidth=0 >> > syntax on >> > >> > set gfn=DejaVu\ Sans\ Mono\ 11 >> > >> > " REQUIRED. This makes vim invoke Latex-Suite when you open a tex file. >> > filetype plugin on >> > >> > " IMPORTANT: win32 users will need to have 'shellslash' set so that >> > latex >> > " can be called correctly. >> > set shellslash >> > >> > " IMPORTANT: grep will sometimes skip displaying the file name if you >> > " search in a singe file. This will confuse Latex-Suite. Set your grep >> > " program to always generate a file-name. >> > set grepprg=grep\ -nH\ $* >> > >> > " OPTIONAL: This enables automatic indentation as you type. >> > filetype indent on >> > >> > " OPTIONAL: Starting with Vim 7, the filetype of empty .tex files >> > defaults >> > to >> > " 'plaintex' instead of 'tex', which results in vim-latex not being >> > loaded. >> > " The following changes the default filetype back to 'tex': >> > let g:tex_flavor='latex' >> > >> > let g:Tex_DefaultTargetFormat='pdf' >> > let g:Tex_MultipleCompileFormats='pdf' >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> > Finally, a world-class log management solution at an even better >> > price-free! >> > Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> > February 28th, so secure your free ArcSight Logger TODAY! >> > http://p.sf.net/sfu/arcsight-sfd2d >> > _______________________________________________ >> > Vim-latex-devel mailing list >> > Vim...@li... >> > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel >> > >> > > > |