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

learn more… | top users | synonyms

4
votes
0answers
49 views

non-paired bracks break indent in vim

It seems that latex-suite do the auto indent wrong when there are no closed bracks, for example, in the following $[0,1)$ is the cause of problem: \begin{equation} f(x),\quad x\in[0,1) ...
0
votes
0answers
7 views

latex-suite (vim-latex) \cite F9 bibliography completion not working

I use latex-suite (vim-latex) to edit tex file with vim. But the action \cite{F9 doesn't do anything at all (i.e., no splitted window with bibliography entries as expected). Could anybody out there ...
1
vote
0answers
20 views

vim+ Latex Suite, Can the compile window be in a sub-window?

I am using vim+latex suite. When \ll, the compile window takes the whole area of the vim window, no matter how many other subwindow I have opened. Can the compile process just be shown in another ...
1
vote
0answers
21 views

vim + knitr + synctex + file watch + sumatrapdf (on windows)

I'm trying to get a task runner watching a directory for changes and then run the following: knit Rnw file pdflatex the resulting tex file (with bibtex) open pdf viewer and have both forward/reverse ...
0
votes
1answer
30 views

Compiling Latex in Vim Results in Error

I am trying to compile the following LaTeX using vimtex continuous compiling in vim: LaTeX: \documentclass[12pt]{article} \title{Electrolysis of Water and Aqueous Solutions} \author{Carlo Abelli \\ ...
2
votes
1answer
59 views

Vim and Latex on Mac Terminal

I am very, very new to vim and using it through the mac terminal app. Based on this snip bit and the terminal being native to osx, I am trying to avoid macvim or iTerm at this point, so have not ...
0
votes
0answers
34 views

How to finishing the compilation in LaTeX-Suite?

Editing in vim using LaTeX-Suite after pressing \ll I got two additional windows: one contains error list and one contains preview of selected error. How to back to editing the main .tex-file? It is ...
3
votes
1answer
30 views

Strange vim-latex behaviour

I have a problem when reinstalling vim-latex (possibly installing a newer version). Here is the code I typed \documentclass{article} \begin{document} $\pi$ $2^5$ \textbf{abc} $2^{\pi}$ ...
0
votes
0answers
33 views

VimLatex strange behavior exponents

I have macVim 7.3.754 and latex-suite installed. In insert mode, I type x^^ in order to typeset a power in Latex with base "x" and some exponent to be typed later, I initially get, as ...
0
votes
0answers
78 views

$\times$ may look prettier here. How can I get rid of this message?

I am using Vim + syntastic to edit LaTeX documents. As I write along, I found the syntastic plugin could falsely claim that my "x" should be $\times$. The actual error message is $\times$ may look ...
0
votes
1answer
25 views

Vim LatexSuite: how to define IMAP that also moves the cursor?

I am using latexsuite in vim and I'm trying to make MBF in insert mode expand to \mathbf{}<++> and place the cursor inside the brackets. The following: :call IMAP('MBF', ...
1
vote
0answers
25 views

vim-latex does not display compilation errors

I installed vim-latex using Vundle and have been trying to use it to write a LaTeX document. Using \ll compiles the document if there are no errors and opens the .pdf in my pdf viewer, exactly was I ...
0
votes
0answers
23 views

vim-latexsuite clash with spf13-vim

I installed vim-latexsuite on a computer with spf13-vim installed. I appended the vim-latexsuite .vimrc at the end of .vimrc. Now it works only partially, which is very odd...EEQ,ETI, etc and also \ll ...
0
votes
0answers
21 views

Produce two outputs in Vim-LaTeX compilation

I would like to make ViMLaTeX compilation to produce two outputs - let's say, one with the draft option in the documentclass command. Or even better - to have two different ViM commands, one for ...
2
votes
1answer
43 views

Redefine smart key mappings in vim's Latex-suite plugin

When using the Latex-suite plugin in vim, typing ... expands to either \ldots or \cdots (see section 3.9 Smart Key Mappings of the latex-suite manual). I am using a lot the amsmath package that ...
0
votes
1answer
29 views

VIM Latex Suite. Convert u1x1 to u_1(x_1)

In this question: VIM Latex Suite repeating symbols with subscripts and superscripts Anthony created this magnificent vimscript code: function! <SID>SubSuperscripts(keyOne, keyTwo) let l = ...
3
votes
1answer
67 views

How to get Vim Latex-suite projects (with .latexmain-files) to configure spelling in subfiles correctly

I use Latex in larger projects and I use the following file structure: project/ mainfile.tex mainfile.tex.latexmain tex/ subfile1.tex subfile2.tex ... The command ...
1
vote
1answer
100 views

VIM Latex Suite repeating symbols with subscripts and superscripts

I have a document that needs a lot of symbols in math environment, that have both superscripts and subscripts like x_1^1, x_1^2, x_2^1, x_2^2, with different bases. x could be y, z, etc.... Having to ...
1
vote
1answer
170 views

Creating Templates on Vim-latex suit template

I have a question on creating templates on vim-LaTeX suite. I placed a template file on /usr/share/vim/addons/ftplugin/latex-suite/templates/ with the content of <+ +> !comp! ...
0
votes
0answers
45 views

LaTeX-Vim Return to edit after error?

For example I compiled something, and got error, it gives me 3 splited windows in vim, but if I :q all of them, I quited the vim. Is there a way so that I can go back to edit after compile error?
1
vote
0answers
39 views

How to Disable visual Effect of \textit{} in latex-vim?

Disable visually italicizing characters in \textit when using LaTeX-Suite The answer in that question was slightly different from what I want. What philix says can't been added into .vimrc (at least ...
0
votes
0answers
19 views

Forward search PDF with VIM-LaTeX and Okular not working [duplicate]

I'm using xelatex to create PDF file, and relevant global variables are like this: g:Tex_CompileRule_pdf = 'xelatex -src-specials -interaction=nonstopmode $*' TCTarget pdf At the beginning, ...
5
votes
1answer
142 views

Syntax highlight for footnotes in Vim

I always write my footnotes in LaTeX as Some text.% \footnote{This is the footnote text.} Text continued. This way the footnote is always on its own line beginning with \footnote{ and ending with } ...
0
votes
0answers
67 views

Vim-LaTeX does not compile

I am installing Vim-LaTeX on my Mac. Installation is done. However, I cannot compile , although I can compile through texshop. What I have followed: Installation guide VIM-LaTeX Q&A No ...
0
votes
0answers
109 views

LaTeX syntax highlighting in vim

I recompiled vim (with lua support) (on an ubuntu machine) and now the syntax highlighting for LaTeX is disabled/broken. The latexsuite (e.g. \ll or \ls) seems to be working fine otherwise. How can ...
2
votes
0answers
274 views

Vim color scheme for Latex [closed]

I would like suggestions for a Vim color scheme for Latex. I love gruvbox for coding but it fails to highlight most Latex commands. Besides, maybe something different for typesetting is a good idea ...
2
votes
0answers
152 views

Vim-Latex: forward search doesn't work

I know people have had this kind of problem before, but I haven't been able to find the solution to my problem anywhere. First of all, calling Tex_ForwardSearchLatex() with <leader>ls doesn't ...
0
votes
0answers
53 views

Vim-Latex: compile to multiple formats at once

I want a PDF document ultimately, but I'm setting my default target format to dvi in order to use the YAP dvi viewer as the default (the PDF viewer can't do forward searches on my Windows machine, I ...
1
vote
0answers
33 views

Vim Latex-Suite: macro expands but doesn't disappear [duplicate]

I'm learning to use the Vim Latex-Suite for the first time (although I'm experienced with both Latex and Vim separately) and the macro expansion doesn't seem to be working as it should. For example, ...
0
votes
1answer
123 views

vim plugin delimitmate doesn't work with tex file. Is there any other plugin for autoclose working fine with vim-latex?

I often use delimitmate plugin for autoclose. It works well in other file types except tex file. In other file type such txt, when I typeset (, I will get () with the cursor between the parenthesis. ...
6
votes
1answer
94 views

Don't open vim when I exit pdflatex

When I'm working on a LaTeX document and compiling with pdflatex, I frequently have compile errors. To get out of pdflatex when running it from the command line, I use the exit command to end the ...
0
votes
0answers
108 views

Getting vim to return autocomplete bibtex results for multiple citations

I am wondering whether it is possible to get Vim-latex's F9 autocomplete to work for multiple references within a citation. For example, if I type \cite{author1 and then press F9, then it will return ...
3
votes
1answer
121 views

\cite{} autocompletion in VIM in non tex file

I'm moving my workflow from LaTeX to Asciidoc + Asciidoc-bib. I would like to have the vim-latex reference autocompletion working for non-.tex files, in my case for .txt files. So when I add some ...
0
votes
0answers
19 views

Searching for references in Vim-latex with prefix

I'm wondering if there's a way to get the 'F9' citation search to work with a prefix added to a citation. For example, if I start by writing \cite<e.g.>{He, then press 'F9', bibliography results ...
0
votes
0answers
108 views

Vim : key map hard to remove - plugin LaTeX/spf13

I use Vim (and gVim) with the spf13' bundle, plus I added vim-latexsuite (running on an Archlinux conf). Only when I work on a .tex file, the 'é' (french e-acute key) is inaccessible, mapped to ...
0
votes
1answer
27 views

Vim + Tex_SmartQuoteOpen for csquote

with vim-latex for vim, there is a two variables g:Tex_SmartQuoteOpen and g:Tex_SmartQuoteClose which meaning repleacment text for " at the begining/and of a citation. Default value are ``'' + one ...
1
vote
1answer
53 views

Weird autocompletion in vim-latex [duplicate]

I am trying to write some inline equations in vim-latex, but when I type \(( (To start an equation with a parenthesis), vim replaces it with \\left( \right)<++>. What is it doing, and how do I ...
0
votes
0answers
162 views

Vim-latex autocomplete for \ref{} when using build directory

When I compile a simple document test.tex using latexmk, autocompletion of \ref{} using <F9> works as expected, presumably because main.aux is visible. If I now compile using latexmkspeciale ...
0
votes
0answers
72 views

Browsing vim latex-suite quickly

I use Vim Latex-Suite for typing my Latex files. One of the features I like is the F9 shortcut inside \ref{} which helps me to browse a document with many sections/labels and find the theorem labels ...
0
votes
1answer
138 views

Remove a \textit{} or \emph{} in Vim with vim-latex (LaTeX-Suite)

Thanks to this SE answer I now know that I can emphasise the highlighted word with `em. Is there a way to remove the \emph{} from a word?
1
vote
1answer
249 views

Set master file in vim-latex (TeX-Suite)

When I type <leader>ll in Vim with vim-latex installed, I can compile the .tex file in my current buffer. But the .tex file I'm editing is actually just \input{}ed into a master .tex file. How ...
0
votes
0answers
122 views

Vim call Tex_ViewLaTeX() function not doing anything

I am running gvim7.4 on windows 7 and I am able to compile tex documents and view the pdf manually, but the \lv command does not return anything. The tex file has no corruptions (I can run it with ...
0
votes
0answers
79 views

vim-latex 'cite' command not showing citation options in quickfix window

The cite completion in vim-latex does not work on my machine (Ubuntu 14.04) for a specific document. The document is a doctoral dissertation and involves multiple subdocuments that are imported into ...
1
vote
1answer
152 views

Configuring vim-latex when installed using pathogen

I've followed the instructions in this question to install vim-latex using pathogen. Now I'd like to have vim-latex compile using pdflatex instead of the default latex. The instructions on the ...
1
vote
1answer
113 views

Citation completion in vim latex-suite on Windows 8.1 Update

This is potentially a duplicate of this tex.se question, but I tried all the advice with still no solution. I am on 64-bit Windows 8.1 Update with gvim 7.4, Python 2.7.7 (Anaconda 2.0.1 32-bit), and ...
0
votes
1answer
246 views

Vim-Latex: Inverse and Forward Searching partially enabled. (Environment: Vim-Latex Suite, Sumatra, MikTex) [duplicate]

This is a question directed to those who are familiar with compiling Tex using Vim. My OS is Windows 8.1 Problem Description: Inverse and Forward Search is partially enabled. When I double click at ...
0
votes
0answers
95 views

Set up MacTex distribution as default on mac os

I have installed the MacTex distribution on OSX10 and until now I've been using the TexShop editor quite successfully. I want to change and start writing latex using the Vim editor but I haven't ...
2
votes
0answers
645 views

How to change (Mac)Vim's syntax highlighting rules for (La)TeX files? [closed]

I'm a long-time AUCTeX/Emacs user that switched to Vim/LaTeX-Box recently. I got everything working the way I want and grew pretty fond of Vim, but there's still one unusual thing that bothers me: ...
0
votes
0answers
756 views

How can I install vim-latex on mac os x?

I was trying to install vim-latex (http://vim-latex.sourceforge.net/index.php?subject=download&title=Download) My Vim comes with the OS X system and is located at /usr/share/vim/vim73 According ...
1
vote
1answer
100 views

What does (,li) mean in Vim Latex

I am using Macvim together with Vim-Latex suite. On the Vim Latex webpage they list Environment macros as follows: ELI (,li)------------- list EDE (,de)------------- description etc. What does (for ...