Vim is an advanced text editor and IMproved version of the Unix editor Vi.

learn more… | top users | synonyms

1
vote
1answer
499 views

How do I properly set up Latex-suite in Gvim?

I just installed Miktex, and downloaded Latex Suite latest snapshot. I extracted its files in both C:\Program files (x86)\Vim\vimfiles and C:\Program files (x86)\Vim\vim74 (I'm not sure why I have ...
2
votes
1answer
160 views

Indenting multi-line sentences

For example, in the actual .tex file, I'd like sentences like this: Due to this, some reasonable conclusion. Next sentence. To be formatted like this: Due to this, some reasonable conclusion. ...
2
votes
1answer
85 views

Using latexindent from vi?

I would like to use latexindent from the vi editor. Ideally, I would use it just like one uses fmt. Recall that in vi you can filter any portion of your text through an external filter. So, one could ...
5
votes
1answer
528 views

How to make vim short key for xelatex and pdflatex both?

I have learned that the following setting in _vimrc will let \ll compile by engine pdflatex: let g:Tex_DefaultTargetFormat='pdf' let g:Tex_CompileRule_pdf = 'pdflatex ...
1
vote
1answer
89 views

Vim-latex key expansion doesn't remove the typed keys

I recently installed vim-latex plugin in gvim 7.4. I followed the documentation to set it up. Everything is working. But I have a problem. When I type in key expansion combination, the combination ...
4
votes
1answer
700 views

LaTeX plugin for vim editor in Linux

I have installed gvim on my Ubuntu 12.04 operating system.How to install the LaTeX plugin for gvim?I have TeXlive installed. I used the following link to follow to the instructions: ...
8
votes
1answer
388 views

Gnuplot inside LaTeX not working

I'm trying to create a gnuplot image inside my LaTeX document, but nothing is being displayed. My gnuplot works if I do it outside LaTeX. \begin{figure}[!ht] \begin{gnuplot}[terminal=pdf, ...
2
votes
0answers
78 views

Still about how to set configuration files to print the bibliography with Vim and biber

Although I read some posts on this site about vim and biber, still I'm not able to compile correctly. Following some suggestion, I put in my texcr (at line 96) TexLet g:Tex_MultipleCompileFormats = ...
2
votes
1answer
271 views

How to disable Vim LaTeX plugin while enabling other plugins

I recently turned on plugins in vim so that I could use a plugin with Clojure source files. Now the vim LaTeX Suite plugin loads automatically whenever I edit a LaTeX file. Ack! I had my vim ...
4
votes
1answer
152 views

how to enter a dot with whitespace preceding it?

I'm getting Whitespace before punctuation mark in " ." when I'm trying to enter the word .Net with whitespace before it. How can I fix that? What's the proper way of entering a . with whitespace ...
2
votes
1answer
2k views

How to set up spell-checking with vim?

I'm using vim to write my thesis. It's a multi-document project, with most tex files in subdirectories from the master-document. I've set up a couple of \newcommands to replace the use of \section*{} ...
8
votes
1answer
396 views

Why does Vim highlighting treat _a differently than _b in math mode?

I am not using vim-latex, just the regular vim syntax highlighting for latex. To make sure of this I tested this by running: vim -u NONE -N I notice that if I am in math mode "f_a" will display ...
5
votes
1answer
417 views

arara: show warnings only in the last compilation step

I use this function to compile my latex documents in gVim with arara: function! CompileTex() silent write! call setqflist([]) echon "compiling with arara ..." exec "lcd %:h" ...
1
vote
1answer
111 views

Plugin for outlining tex files VOom does not work

I installed VIM plugin called VOom which has latex support for outlining sections and subsections and other commands. You can have a look here: http://www.vim.org/scripts/script.php?script_id=2657 ...
3
votes
1answer
201 views

vim-latex shortcuts

I am facing a problem for using shortcuts provided by vim-latex. Say, I want \textbf, so I was trying `bf. But, given, `b is a shortcut for \beta, I always end up with something \betaf. FBF works, ...
3
votes
0answers
170 views

How to understand vim-latexsuite template expression evaluation?

I'm trying to build out LaTeX templates for my engineering coursework, and I love the vim environment for editing, so I've been using vim-latex to integrate the two. I don't quite understand how the ...
8
votes
1answer
644 views

vim: nice folding function

I use Latex-Box but I really like vim-latex (a.k.a Latex-Suite) folding. I tried to copy Latex-Suite's folding.vim file to my ftplugin/tex folder but cannot make it work. Has anyone written a nice ...
1
vote
1answer
409 views

LaTeX Suite Autocompletion Feature Not working With Rnw file

I have been a great fan of Vim with its awesome Vim-latex suite providing extremely useful keybindings and autocompletion features. Then I installed vim-r-plugin and opened a .Rnw Sweave file. While ...
1
vote
0answers
240 views

Vim latex suite “alt” macro not working

I tried using the alt+i macro to insert list item intelligently, but it didn't work and neither did other alt macros for latex suite. Any insight to resolve this problem is very well appreciated!
3
votes
1answer
130 views

Vim-latex Incorrectly Expanding Environment

I just began using vim-latex and started with their tutorial. Following the instructions on this page, I type eqnarray followed by F5, but instead of getting the described \begin{eqnarray} ...
1
vote
0answers
50 views

Command for obtaining Table of Contents (toc) number of pages using vimscript and latex? [closed]

Is there a way I can obtain the number of pages that make up the table of contents (all the pages prior to chapter 1)? I am using vim + latexsuite, but if this is commonly listed in other latex ...
2
votes
1answer
116 views

Setting Vim's NoSpell for command

I'm trying to switch off Vim's spell-checking for the glossaries command \gls. I really don't understand how the syntax matching works but I'm trying the following in ~/.vim/after/ftplugin/tex.vim: ...
1
vote
0answers
21 views

Vim LaTeX suite now doubles my double parentheses and braces [duplicate]

I re installed MikTex and Vim LaTeX suite (for an unrelated reason) and now Vim doubles my double parentheses (or braces, etc.). Usually if I type ( and the matching ), then I get ()<++> with ...
7
votes
0answers
252 views

vim-LaTeX does not construct correct argument for bibtex

My pdf compile rule is pdflatex -interaction=nonstopmode $* & bibtex $* & pdflatex -interaction=nonstopmode $* Everything works fine except for the bibtex call. The reason is that "$*" is ...
1
vote
0answers
85 views

How to show the value of a variable in vim latex-suite [closed]

Is there a way to show the current value of a Latex-Suite variable, e.g. g:Tex_DefaultTargetFormat, from the vim command line?
6
votes
6answers
766 views

Can you get Vim to behave like TeXworks or vice versa?

There are several features of TeXworks that I find substantially decrease my editing time. I tend to write a large number of rather small LaTeX files, which means I'm opening and closing files ...
6
votes
4answers
218 views

Highlight / color parts of text

LaTex newbie here. Currently using vim with solarized color scheme to edit .tex documents. When writing I often jump around to different parts of the document, leaving gaps behind to work on later. ...
1
vote
1answer
277 views

Highlighting for viml in latex?

I want syntax highlighting for vim scripts in my latex document. So if I write \begin{lstlisting} autocmd FileType c setlocal expandtab shiftwidth=4 tabstop=4 softtabstop=4 \end{lstlisting} it ...
3
votes
2answers
262 views

How to setup MacVim for ConTeXt (MkIV) and Skim?

This is a very basic question but I can't figure out how to configure MacVim (v7.3) properly to work with ConTeXt (MkIV) and Skim on Snow Leopard. Is there somebody who would kindly explain the steps ...
11
votes
1answer
5k views

How to install vim-latex?

Can someone please help with installing vim with the latex plugin? I've tried searching online for easier instructions, but I can't find anything. I have very little experience with terminal and I ...
1
vote
1answer
90 views

Vim shortcut to pdflatex a specific tex file

I'm working on a document that is structured as follows: /Document/ | |--Chapter1/chap1.tex | |--Chapter2/chap2.tex | |--Chapter3/chap3.tex | \--main.tex where the ...
0
votes
1answer
125 views

vim latex editing [closed]

What do I do if my tex file now looks like: ^@\^@d^@o^@c^@u^@m^@e^@n^@t^@c^@l^@a^@s^@s^@[^@1^@1^@p^@t^@]^@{^@a^@r^@t^@i^@c^@l^ @e^@}^@ 2 ^@ 3 ...
3
votes
1answer
909 views

Vim-Latex spell checking : ignore comment regions

I'm using the Vim-Latex environment for writing french documents. The problem is that when I comment a line containing a command, the spell checking tool highlights the command as a spelling mistake. ...
4
votes
1answer
458 views

vim-latex problem on Windows

I'm using vim with cygwin on Windows XP. I have Miktex install and I can compile files using Texmaker for example. However, I'd like to use vim with the vim-latex suite. When I type :echo ...
8
votes
2answers
465 views

Vim-latex adds extra brackets when typing empty brackets

I just installed the vim latex-suite plugin. Whenever I type empty brackets, parentheses, or braces, I get an extra pair of them, and I am moved to the middle of the new pair and put into insert ...
3
votes
2answers
148 views

Creating a section template

I'm reading a lot of papers, and writing notes on them as I go. I want to make a single document containing one \section for every proceedings-year, with a \subsection for every paper. (I'm using ...
6
votes
1answer
499 views

How do you jump to an error from the Error List in LaTeX-suite?

I just discovered LaTeX-suite and was overjoyed with the breadth of the compiling and debugging options, but for some reason the primary debugging mechanism is not working for me. When I compile with ...
1
vote
1answer
2k views

compiling pdflatex from the terminal in vim [closed]

A file I can compile in Texmaker won't compile after editing in Vim. I am giving the error hw9problem1xplot can't be found. This is from an includegraphics command. However, the pdf image file is ...
1
vote
0answers
199 views

Vim Latex \cite autocomplete <++> [duplicate]

I'm trying out vim-Latex on a mac, and so far I like a lot of things about it, however the \cite{} command tends to give a <++> following it (yes, I can use the autocomplete, which is way cool). ...
3
votes
1answer
507 views

vim latex-suite: unwanted in-editor math symbol conversion

I'm experiencing trouble using vim in combination with latex-suite. Since recently there is a nice feature, that converts some latex commands, such as \varphi, into symbols better readable and more ...
1
vote
3answers
1k views

vim-LaTeX does not run bibTeX

I'm on a Windows 7 machine, using the most recent version of vim-LaTeX with gVim. With all of the defaults, using \ll to compile my document only runs LaTeX once, when it should run multiple times, ...
2
votes
1answer
176 views

Is \Copy already in use by any package?

I'm working on my copypaste package to address a confusing feature that Seamus has kindly drawn my attention to. \yank copies text and commands from a LaTeX document onto a "clipboard", and \paste ...
7
votes
1answer
346 views

How to dynamically change the output filename in Vim LaTeX Suite

Say, my .tex files are organized like this ~/Projects/proj_name/articles.tex. After compiling with LaTeX Suite, I want the output PDF file to be proj_name.pdf instead of articles.pdf. Since I have ...
2
votes
0answers
690 views

AutomaticLaTeXPlugin + MacVim on OSX Lion [closed]

I am desparatly trying to get the AutomaticLaTeXPlugin to work with MacVim. I previously worked with Latex-Suite but i really like the autocompilation, progressbar .. that AutomaticLaTeXPlugin seems ...
4
votes
2answers
878 views

Biber backend and Vim-Latex

I'm trying to make biblatex work with Vim-Latex (a.k.a Latex-Suite). Using bibtex as a backend works fine but using biber doesn't. I'm using Miktex 2.9 and have the following in my .vimrc file: " ...
5
votes
1answer
640 views

How do I prevent LaTeX-Suite from opening files automatically when there's an error?

I'm using Vim with LaTeX-Suite. Occasionally when I compile a file with errors using <Leader>ll, the error in my source is such that the LaTeX compiler registers an error in a file deep in the ...
7
votes
1answer
865 views

Using Vim Latex-live-preview with minted package

I was wondering if anyone had succeeded to make vim-live-preview with the package minted. When I tried to edit the pdflatex command winthin the script.vim by adding the -escape-shell switch, but ...
2
votes
1answer
495 views

vim and the Makefile

I'm trying to use a Makefile to compile latex files within vim (and update the view of my current pdf file within my favourite viewer). Here is a little example (I'd like to expand that lateron): ...
4
votes
1answer
406 views

Issues when using inverse/forward search with vim and xdvi (linux)

I am using vim 7.3.35 with the vim-latexsuite on ubuntu. After googling around I managed to setup forward/inverse search with xdvi by adding the following to my .vimrc: let g:Tex_CompileRule_dvi = ...
1
vote
2answers
254 views

Correct spacing around environments without the comment symbol when using parskip?

I prefer inserting blank lines between paragraphs, and no indenting. I know that the package parskip can offer this functionality, but it comes with a catch. When writing \documentclass{article} ...